TRS Searching by Word Position

Is it possible to query words by their position within the document? For example, I need to find all the documents where the 1st or 2nd word is “apple”.

The proximity information is stored in the index so I can query for word in relationship to each other. I need to be able to query by position as well.


1 Like