On 4/23/07, Tom Hill <[EMAIL PROTECTED]> wrote:
I was doing the q=state[* TO *] for a short time, and found it very slow. I
switched to doing a query on a single field that covered the part of the
index I was interested in, for example:

inStock:true

And got much faster performance.

Good point... the fewer the terms, the faster the performance.

I don't know how well *:* performs, but if it is
similar to state:[* TO *], I would benchmark it before using.

*:* will be the fastest as it translates to a MatchAllDocsQuery, which
does no term lookups at all, but just skips over deleted documents.

-Yonik

Reply via email to