Hi, We are comparing results between Field Collapsing (&group* parameters) and CollapseQParserPlugin. We noticed that some facets are returning incorrect counts.
Here are the relevant parameters of one of our test queries: Field Collapsing: ----------------------- q=red%20dress&facet=true&facet.mincount=1&facet.limit=-1&facet.field=searchcolorfacet&group=true&group.field=groupid&group.facet=true &group.ngroups=true ngroups = 5964 <lst name="searchcolorfacet"> ... <int name="red">11</int> ... </lst> CollapseQParserPlugin: ----------------------------------q=red%20dress&facet=true&facet.mincount=1&facet.limit=-1&facet.field=searchcolorfacet&fq=%7B!collapse%20field=groupid%7D numFound = 5964 (same) <lst name="searchcolorfacet"> ... <int name="red">8</int> ... </lst> When we change the CollapseQParserPlugin query by adding "&fq=searchcolorfacet:red", the numFound value is 11, effectively showing all 11 hits with that color. The facet count for red now shows the correct value of 11 as well. Has anyone seeing something similar? Thanks, Carlos