lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: How to set individual boost factor to each word in a phrase query ?
Date Wed, 02 Mar 2005 22:48:59 GMT
On Wednesday 02 March 2005 22:43, Robichaud, Jean-Philippe wrote:

> "some^0.81 list^0.12 of^0.5 words^0.99"

You could try

"some list of words"^0 AND (some^0.81 list^0.12 of^0.5 words^0.99)

Will only match documents that contain the phrase, but score the terms (but 
also those terms in the document which are outside the phrase, maybe 
that's good enough).



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

View raw message