Hi, I wonder if there is a way to use a SpanQuery to find documents with fields that end with a certain term. Kind of the oppoisite of SpanFirstQuery, i.e. "SpanLastQuery", if you want.
What I would like to do: Find terms that are at the end of a field. Example: Assume the following field content: "the quick brown fox jumps over the lazy dog". I would like to find all documents that have "dog" at the end of the field. Any idea, how I can achieve this? Thanks a lot and best regards, Josef