lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Facet Counts Issue when Using Dismax Query Parser in SOLR
Date Sat, 02 Oct 2010 01:21:19 GMT

: So I add a fq param to filter the results by the chosen facet. This 
: seems logical, but the number of search results I get is NOT the same as 
: the count against the facet.

can you give us some specific examples?  Ie: show us a URL, show us 
the requestHandler config for the handler used in that URL, show us the 
output (including facet counts) of GETing that URL, then show us the URL 
you are building by adding hte fq, and show us the resulting output (with 
total result count) 

I suspect that the QParser used when building your fq may not be what you 
want.  using the "raw" (or in some cases "field") QParser in fq you build 
to deal with facet.field terms is almost always what you want - if you 
just use the default Lucene parser for fq you can get some odd siutatoions 
depending on whether your facet term has whitespace in it, and what 
analyzer is used for that field.


--  ...  October 7-8, Boston      ...  Stump The Chump!

View raw message