From lucene-user Wed Mar 02 22:48:59 2005 From: Daniel Naber Date: Wed, 02 Mar 2005 22:48:59 +0000 To: lucene-user Subject: Re: How to set individual boost factor to each word in a phrase query ? Message-Id: <200503022348.59705 () danielnaber ! de> X-MARC-Message: https://marc.info/?l=lucene-user&m=110980373917059 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). Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org