TermVectors are not used for searching; they just store each doc, inverted.
They allow you to retrieve all terms (and optionally their
positions/offsets) for a given document. But this entails a seek,
per-document, so it's fairly costly.
Highlighters use term vectors because they are a good way
What about TermVector? it says in "lucene in action":
Term vectors are something a mix of between an indexed field and
a stored field. They are similar to a stored field because you can
quickly retrieve all term vector fields for a
given document: term vectors are keyed first by document ID. But t
On 2010-05-31 10:54, Uwe Schindler wrote:
> No.
See also LUCENE-2048 (nice round number ;) ).
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, Sys
No.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Li Li [mailto:fancye...@gmail.com]
> Sent: Monday, May 31, 2010 10:48 AM
> To: java-user@lucene.apache.org
> Subject:
I read in 'lucene in action" that to save space, we can omit termfreq
and postion information. But as far as I know, lucene's default
scoring model is vsm, which need tf(term,doc) to calcuate score. If
there is no tf saved. Will the relevance score be correct?
-