List Info

Thread: How to generate TermFreqVector from an existing index




How to generate TermFreqVector from an existing index
user name
2007-11-06 00:06:11
Hi All,

I have an index without does not have the termFreqVector
stored in it. I do
not want to recreate the index as it is a big index and took
a lot of time
while creation. Is their a other way for generating the
termFreqVector with
the available info for all the documents.

Any help will be appreciated,

Regards,
Shaile
Re: How to generate TermFreqVector from an existing index
country flaguser name
United States
2007-11-06 06:43:13
You would have to take the original input and re-analyze it
and put it  
into the TermFreqVector format.  It's just a list of terms
and their  
frequencies for a given doc, so it should be pretty
straightforward to  
do.  Just extra runtime computation.

-Grant

On Nov 6, 2007, at 1:06 AM, Shailendra Mudgal wrote:

> Hi All,
>
> I have an index without does not have the
termFreqVector stored in  
> it. I do
> not want to recreate the index as it is a big index and
took a lot  
> of time
> while creation. Is their a other way for generating the
 
> termFreqVector with
> the available info for all the documents.
>
> Any help will be appreciated,
>
> Regards,
> Shaile

--------------------------
Grant Ingersoll
http://lucene.granti
ngersoll.com

Lucene Boot Camp Training:
ApacheCon Atlanta, Nov. 12, 2007.  Sign up now!  http://www.apachecon.com


Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance

http://w
iki.apache.org/lucene-java/LuceneFAQ



------------------------------------------------------------
---------
To unsubscribe, e-mail: java-user-unsubscribelucene.apache.org
For additional commands, e-mail: java-user-helplucene.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )