Term vector


(Loco Jay) #1

Hi i would like to access the term vector of a document to do some clustering ....
Is
http://lucene.apache.org/core/old_versioned_docs/versions/3_0_3/api/contrib-instantiated/org/apache/lucene/store/instantiated/InstantiatedIndexReader.html#getTermFreqVector(int,%20java.lang.String,%20org.apache.lucene.index.TermVectorMapper)

exposed or does one need to code a plugin?

Thanks for helping


(Shay Banon) #2

You have to do some coding to get it, through a plugin.

On Thursday, February 23, 2012 at 9:10 PM, Loco Jay wrote:

Hi i would like to access the term vector of a document to do some clustering ....
Is
http://lucene.apache.org/core/old_versioned_docs/versions/3_0_3/api/contrib-instantiated/org/apache/lucene/store/instantiated/InstantiatedIndexReader.html#getTermFreqVector(int,%20java.lang.String,%20org.apache.lucene.index.TermVectorMapper)

exposed or does one need to code a plugin?

Thanks for helping


(system) #3