
erickerickson at gmail
Mar 3, 2007, 6:26 AM
Post #2 of 2
(924 views)
Permalink
|
There is a long thread in the archive where Mark and I talked about a SpansExtractor class that might do what you want. See the thread titled "*Multiword Highlighting"* Erick On 3/1/07, matpil <pileggi[at]pitagora.it> wrote: > > > Hi! > My problem is to retrieve the term positions in a "general" query with > more > than one terms. > It seems that with the phrase query it's possible (with SpanQuery) but > with > "AND" and "OR" query I can't get the position for each document I search. > I'm looking for a high level implementation because I don't want to use > low > level lucene API (I'm a lucene newbie...) > > Thanx in advance, > Mat > -- > View this message in context: > http://www.nabble.com/retrieve-term-positions-in-query-tf3327146.html#a9250330 > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org > For additional commands, e-mail: java-user-help[at]lucene.apache.org > >
|