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: Is there a way to speed up boolean query if I don't care about score?
Date Fri, 28 Mar 2008 16:38:51 GMT
What about ConstantScoreQuery?

Erick

On Wed, Mar 26, 2008 at 2:34 PM, Wojtek H <wojtekh2@gmail.com> wrote:

> Hi all,
>
> Suppose my query has "normal" part for which I want score as usual and
> other part which is big disjunction (OR) query for which I just want
> documents to match and don't care about scoring. Is there a way to
> make it fast?
> As far as I understand if 'no-score' part was the same in many queries
> I could create filter for documents matching it and then make other
> searches with 'normal' query and filter for 'no-score' part. But what
> can I do in situation when this 'no-score' part is changing all the
> time?
> Thanks and regards,
>
> wojtek
>
> ---------------------------------------------------------------------
> 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