On Jul 14, 2004, at 10:19 PM, Jones G wrote:
I have an index with multiple fields. Right now I am using MultiFieldQueryParser to search the fields. This means that if the same term occurs in multiple fields, it will be weighed accordingly. Is there any way to treat all the fields in question as one field and score the document accordingly without having to reindex.

You could change the coord() factor of Similarity in a custom implementation - that might do what you want with scoring.


But I prefer having a single queryable field that aggregates everything I want searchable, which would require re-indexing in your scenario.

        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to