Is there a way to retrieve the original term positions during the search?

Otis Gospodnetic

The term positions are not stored in the index, so this cant be done without modifying Lucene.
The primary rationale for not including this in the index is that one typically displays ten or so documents at a time. Re-tokenizing ten documents should only take a fraction of a second, and thus can be efficiently done at search time: there's no need to store the exact positions in the text.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact