lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giovanni Gherdovich <g.gherdov...@gmail.com>
Subject Re: from docID to terms enumerator in O(1) ?
Date Sun, 15 Jul 2012 16:07:34 GMT
2012/7/15 Uwe Schindler <uwe@thetaphi.de>:
> Enable term vectors while indexing and use the TermVector API.
>

Thank you very much Uwe!

I just got back to chapter 2 of "Lucene in Action", where it says

"If it’s indexed, the field may also optionally store term vectors,
which are collectively a miniature inverted index for that one field,
allowing you to retrieve all of its tokens."

Just as you say, this is exactly what I need.

Cheers,
GGhh

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message