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



------------------ ???????? ------------------
??????: "Trejkaz"<trej...@trypticon.org>;
????????: 2012??8??16??(??????) ????11:09
??????: "java-user"<java-user@lucene.apache.org>; 

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



On Thu, Aug 16, 2012 at 11:27 AM, zhoucheng2008 <zhoucheng2...@gmail.com> 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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to