Re: filter query granularity

2010-01-21 Thread Andre Parodi
according to the wiki you could avoid having 3 filter queries cached by putting multiple fq parameters: "Given the following three filtering scenarios of (a) x:bla, (b) y:blub, and (c) x:bla AND y:blub, will I end up with two or three distinct filters? In other words, may filters be composites or

Re: filter query granularity

2010-01-20 Thread Wangsheng Mei
Thanks for your explanation, it makes a lot sense to me. 2010/1/21 Lance Norskog > The docset for "fq=bla:A OR bla:B" has no relation to the other two. > Different 'fq' filters are made and cached separately. The first time > you search with a filter query, Solr does that query and saves the > l

Re: filter query granularity

2010-01-20 Thread Lance Norskog
The docset for "fq=bla:A OR bla:B" has no relation to the other two. Different 'fq' filters are made and cached separately. The first time you search with a filter query, Solr does that query and saves the list of documents matching the search. 2010/1/20 Wangsheng Mei : > The following 3 search se

filter query granularity

2010-01-20 Thread Wangsheng Mei
The following 3 search senarioes: > bla:A > bla:B > bla:A OR bla:B > are quite common, so I use 3 filter queries: fq=bla:A fq=bla:B fq=bla:A OR bla:B My question is, since the last fq documents set will be build from the first two fq doc sets, will solr still cache the last fq doc set or it just