Solr allows you to specify filters in separate parameters that are
applied to the main query, but cached separately.

q=the user query&fq=folder:f13&fq=folder:f24

I've been wanting more explanation around this for a while, so maybe now is a good time to ask :)

the "cached separately" verbiage here is the same as in the twiki, but I don't really understand what it means. more precisely, I'm wondering what the real performance, caching, etc differences are between

  q=fielda:foo+fieldb:bar&mm=100%

and

  q=fielda:foo&fq=fieldb:bar

my situation is similar to the original poster's in that documents matching fielda is very large and common (say theaters across the world) while fieldb would narrow it considerably (one by country, then one by zipcode, etc).

thanks

--Geoff


Reply via email to