where 'distribution' of queried single-value field is extemely low, such as
fq=country:USA

Standard query <q=country:USA> is 10000 times faster than less intelligent
<q=id:[* TO *]&fq=country:USA>

Does anyone experience similar staff?
It's probably specific to [* TO *] which was stupid in this case...


try:
 q=+california +country:USA
vs
 q=california&fq=country:USA
and then try it twice.

I'm no expert on this, but I think the advantage is that fq does not affect the score and can be cached -- it is just includes a set of docs.

[* TO *] iterates over all docs in the index, so that is not a fair comparison...

ryan

Reply via email to