Re: Adding to the termFreqVector

2005-06-01 Thread Ryan Skow
Lucene's scalability is not in question. The simple solution of rebuilding the string of terms is what I referred to as not being scalable. For instance, consider the following term vector: termFreqVector (freq {myTermField: red/69, green/79, blue/899}) Recreating a string with 69

Re: Adding to the termFreqVector

2005-05-31 Thread Ryan Skow
Adding new terms and re-indexing the document is the desired behavior. One (non-scalable) solution would be to parse the toString of the termFreqVector (freq {myTermField: red/2, green/1, blue/1}) and create a new string representation of the expanded terms: (red red green blue) This obviously

Adding to the termFreqVector

2005-05-30 Thread Ryan Skow
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,

Re: Negative Field Boost

2005-05-26 Thread Ryan Skow
gs)" > > You can play with MultiFieldQueryParser a bit. > > regards, > Volodymyr Bychkoviak > > Ryan Skow wrote: > >>Here is the logical structure of the document I'm working with: >> The 'Document' has two fields: >>'includes'

Negative Field Boost

2005-05-26 Thread Ryan Skow
Here is the logical structure of the document I'm working with: The 'Document' has two fields: 'includes' - List of terms that provide positive boost 'excludes' - List of terms that provide negative boost Here is a usage scenario: DocumentA includes: red green blue exclud