lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nabil BOUZERNA <>
Subject Hits document offset information
Date Tue, 02 Sep 2008 17:04:50 GMT
Hi All,

I have following problem. 

All threads similar to my problem are former so I try a new post.
When I execute a search (Lucene Core 2.3.2) I receive the list of document Hits. 
Then, I call current highlighter (2.3.2) to get the best fragments  : getBestFragments(tokenStream,

Now, I would like to to access to the best fragments offsetsfrom each document (hits.doc(i)).

Any recommendations to obtain offsets ? 



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message