Re: Populating a filter cache by means other than a query

2012-04-18 Thread Erick Erickson
Pesky users. Life would be so much easier if they'd just leave devs alone Right. Well, you can certainly create your own SearchComponent and attach your custom filter at that point, note how I'm skimping on the details here. >From left field, you might create a custom FunctionQuery that

Re: Populating a filter cache by means other than a query

2012-04-18 Thread Chris Collins
Great question. The set could be in the millions. I over simplified the use case somewhat to protect the innocent :-}. If a user is querying a large set of documents (for the sake of argument lets say its high tens of millions but could be in the small billions), they want to potentially mar

Re: Populating a filter cache by means other than a query

2012-04-18 Thread Erick Erickson
I guess my question is "what advantage are you trying to get here?" At the start, this feels like an "XY" problem. How are you intending to use the fq after you've built it? Because if there's any way to just create an "fq" clause, Solr will take care of it for you. Caching it, autowarming it when

Populating a filter cache by means other than a query

2012-04-17 Thread Chris Collins
Hi, I am a long time Lucene user but new to solr. I would like to use something like the filterCache but build a such a cache not from a query but custom code. I guess I will ask my question by using techniques and vocab I am familiar with. Not sure its actually the right way so I appologize