That query is representative of some of the queries in my test, but I
didn't notice any correlation between using the match all docs query and
poor query performance. Here's another example of a query that took longer
than expected.
qt=en&q=dress green
leather&fq=userId:(383)&fq={!tag=productR
On Fri, Jul 18, 2014 at 2:10 PM, Hayden Muhl wrote:
> I was doing some performance testing on facet queries and I noticed
> something odd. Most queries tended to be under 500 ms, but every so often
> the query time jumped to something like 5000 ms.
>
> q=*:*&fq={!tag=productBrandId}productBrandId:
I was doing some performance testing on facet queries and I noticed
something odd. Most queries tended to be under 500 ms, but every so often
the query time jumped to something like 5000 ms.
q=*:*&fq={!tag=productBrandId}productBrandId:(156
1227)&facet.field={!ex=productBrandId}productBrandId&face
All facet counts currently returned are _within_ the set of documents
constrained by query (q) and filter query (fq) parameters - just to
clarify what it does. Why? That's the general use case. Returning
back counts from differently constrained sets requires some custom
coding - perhaps
This is *exactly* my issue ... very nicely worded :-)
I would have thought facet.query=*:* would have been the solution but
it does not seem to work. Im interested in getting these *total*
counts for UI display.
- Jon
On Jul 22, 2008, at 6:05 AM, Stefan Oestreicher wrote:
Hi,
I have a
Hi,
I have a category field in my index which I'd like to use as a facet.
However my search frontend only allows you to search in one category at a
time for which I'm using a filter query. Unfortunately the filter query
restricts the facets as well.
My query looks like this:
?q=content:foo&fq=cat
: The problem is that when I use the 'cd' request handler, the facet count for
: 'dvd' provided in the response is 0 because of the filter query used to only
: show the 'cd' facet results. How do I retrieve facet counts for both
: categories while only retrieving the results for one category?
the
retrieve facet counts for both
categories while only retrieving the results for one category?
--
View this message in context:
http://www.nabble.com/Newbie-question%3A-facets-and-filter-query--tp14680213p14680213.html
Sent from the Solr - User mailing list archive at Nabble.com.