lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Mixing non scored an scored queries
Date Tue, 15 Jul 2008 13:29:01 GMT
One way would be to create Filters and add them in with
ConstantScoreRangeQuery....

Best
Erick

On Tue, Jul 15, 2008 at 4:07 AM, John Patterson <jdp2000@gmail.com> wrote:

>
> Hi,
>
> I have a number of fields that are used to filter documents from a search.
> They should not contribute to the score of the document but merely decide
> which documents are valid.  i.e. it doesn't matter how rare they are in the
> index.  I also have a single "combined" field that is used for free text
> searching and it should be scored as normal.
>
> How can I turn off scoring of these "filter" fields?
>
> Thanks,
>
> John
> --
> View this message in context:
> http://www.nabble.com/Mixing-non-scored-an-scored-queries-tp18460018p18460018.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message