[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Re: How to set individual boost factor to each word in a phrase query ?
From: Daniel Naber <daniel.naber () t-online ! de>
Date: 2005-03-02 22:48:59
Message-ID: 200503022348.59705 () danielnaber ! de
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic