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.

About | Sitemap | Contact