lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Why does this query slow down Lucene?
Date Thu, 16 Aug 2012 03:09:49 GMT
On Thu, Aug 16, 2012 at 11:27 AM, zhoucheng2008 <> wrote:
> +(title:21 title:a title:day title:once title:a title:month)

Looks like you have a fairly big boolean query going on here, and some
of the terms you're using are really common ones like "a".

Are you using AND or OR for the default operator? I think AND was
significantly faster.

I would also consider culling stop words to get things like "a" out of
the picture.

I also find it interesting that Lucene doesn't normalise title:a
title:a to title:a^2 or something. :)


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

View raw message