Yes. The query is bit long, which is the major reason.



------------------ ???????? ------------------
??????: "Trejkaz"<[email protected]>;
????????: 2012??8??16??(??????) ????11:09
??????: "java-user"<[email protected]>; 

????: Re: Why does this query slow down Lucene?



On Thu, Aug 16, 2012 at 11:27 AM, zhoucheng2008 <[email protected]> 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. :)

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to