Not sure what you are asking about, but you might want to take a look at http://lucene.apache.org/java/2_4_0/api/contrib-surround/index.html
The Surround parser offers many features around the span query (which I suspect is what you are looking for) Shashi On Mon, Mar 2, 2009 at 4:57 AM, shb <sharo...@gmail.com> wrote: > > hi i need help. > > i need to search by word in sentences with lucene. for example by the word > "bbb" i got the right results of all the sentences : > > "text ok ok ok bbb" , "text 2 bbb text " , "bbb text 4...". > > but i need the result by the word offset in the sentence like this: > > "bbb text 4...". , "text 2 bbb text " , "text 1 ok ok ok bbb" .. > > waiting for ideas.. thanks.. > > > -- > View this message in context: > http://www.nabble.com/search-by-word-offset-tp22284787p22284787.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >