Can anyone tell me how to get offsets of a phrase:
For e.g I have a phrase: "using java lucene"
And I want to get all offsets starts where that phrase appears in the text.
How can I do that?
How can i...