Great! I'll look into that. Thanks!
2013/1/9 김한규 <gksr...@gmail.com> > Try SpanTermQuery, getSpans() function. It returns Spans object which you > can iterate through to find position of every hits in every documents. > > http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/spans/SpanTermQuery.html > > 2013/1/9 Itai Peleg <pelegita...@gmail.com> > > > Hi, > > > > I'n new to Lucene, and I'm having some problems with the search. Ive been > > debugging Lucene in order to find out how I can get for each document > what > > are its "hits" (the terms that it has that were in the query) and their > > offset. Can anyone give me some pointers? > > > > Thanks in advance, > > Itai > > >