Hi,
i was looking at another post which had this presentation in - it has
a nice section
on termfreqvectors:
http://www.cnlp.org/presentations/slides/advancedluceneeu.pdf
bec :)
On 2 June 2010 13:56, Rebecca Watson wrote:
> hi
>
> when you are indexing, use termvectors
> org.apache.lucene.docu
hi
when you are indexing, use termvectors
org.apache.lucene.document.Field.TermVector
set this in the Field object constructor when you create your Field objects
at index time.
i've never done it but i'm pretty sure these can be retrieved at
search time using one of the
IndexReader.getTermFreqVec