lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Skow <>
Subject Adding to the termFreqVector
Date Mon, 30 May 2005 16:37:54 GMT

How would one go about adding additional terms to a field which is not 
stored literally, but instead has a termFreqVector?  For example:

If DocumentA was indexed originally with:
    myTermField: red green blue

termFreqVector would look like:
   freq {myTermField: red/1, green/1, blue/1}

Now, I'd like to add some more terms (red, yellow) and desire the 
termFreqVector to look like this:
   freq {myTermField: red/2, green/1, blue/1, yellow/1}

It would seem like there would be a covenant way of accomplishing this, 
but I must be missing something.

Any advice would be greatly appreciated!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message