PatternCaptureGroupTokenFilter throwing error - startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards

Hi @shikha65786,

Welcome! I see you've raised a similar issue here as well.

To confirm are you using Elasticsearch, or native Lucene? It looks like the latter so I wanted to confirm.