lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Marschner" <>
Subject AND on two weighted fields
Date Wed, 21 Aug 2002 09:49:31 GMT
I need to perform an AND query on two fields and weight the results
according to in which fields the results came from. That is, I would need
something like

   (field1^2 OR field2^1):(+token1 +token2 +token3)

This means that _all_ of the tokens _have_ to occur in either one of these
fields, and if they are found in field1, the results are weighted higher.

Any ideas on how this can be accomplished?



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

View raw message