Re: filter before facet

2013-04-25 Thread Daniel Tyreus
On Thu, Apr 25, 2013 at 12:35 AM, Toke Eskildsen wrote: > > > > This leads me to believe that the FQ is being applied AFTER the facets > are > > calculated on the whole data set. For my use case it would make a ton of > > sense to apply the FQ first and then facet. Is it possible to specify > thi

Re: filter before facet

2013-04-25 Thread Toke Eskildsen
On Wed, 2013-04-24 at 23:10 +0200, Daniel Tyreus wrote: > But why is it slow to generate facets on a result set of 0? Furthermore, > why does it take the same amount of time to generate facets on a result set > of 2000 as 100,000 documents? The default faceting method for your query is field cache

Re: filter before facet

2013-04-24 Thread Daniel Tyreus
I'm actually using one not listed in that doc (I suspect it's new). At least with 3 or more facet fields, the FCS method is by far the best. Here are some representative numbers with everything the same except for the facet.method. facet.method = fc QTime = 3168 facet.method = enum QTime = 309

Re: filter before facet

2013-04-24 Thread Alexandre Rafalovitch
What's your facet.method? Have you tried setting it both ways? http://wiki.apache.org/solr/SimpleFacetParameters#facet.method Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events

filter before facet

2013-04-24 Thread Daniel Tyreus
We're testing SolrCloud 4.1 for NRT search over hundreds of millions of documents. I've been really impressed. The query performance is so much better than we were getting out of our database. With filter queries, we're able to get query times of less than 100ms under moderate load. That's amazing