: I'm experimenting with dismax to do faceted browsing, and when I add a
: constraint with dismax on that facet, I no longer get the entire
that sounds expected ... when you add a constraint using "fq" (or adding
new clauses to the main query) the overall result set is going to get
smaller, and the counts are going ot be affected ... this is typically
what people want when they do faceted searching -- as they drill down the
counts should reflect their narrowed few of the world. If they didn't
change, then you would have missleading info about the options available
if you really want "global" counts for the search, independent of the
constraints applied, just do two queries, one with and one without
that URL doesn't seem to jive with that response, if you've constraint to
type_id:1 your type_id facet count list should contain "1" ... it might
also contain "2" if type_id is a multivalue field and there are some docs
that have both "1" and "2", but i can't figure out why you only have a "2"
there ... does that URL really match what you are getting back from Solr,
or is this a cut/paste mistake?
: Just to clarify on this point, I am using highlighting in standardquery.
: When I add a constraint and sort by a field, the highlighting function no
: longer works. Possible bug or user error?
: I can do it with standardrequest, but then it doesn't appear like I can sort
: the results.
this sounds like it's unrelated to the facet counts issue ... but i'm
having trouble following what you mean, can you give us an example URL and
the output that you are getting from it (preferably using the example
schema/docs -- but we might be able to help even if it's your own custom