Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.5, 6.0
-
None
-
None
Description
This relates to SOLR-8559 – which improves the algorithm used by fcs faceting when facet.mincount=1
This patch allows facet.mincount to be sent as 1 for distributed queries. As far as I can tell there is no reason to set facet.mincount=0 for refinement purposes . After trying to make sense of all the refinement logic, I cant see how the difference between no value and value=0 would have a negative effect.
Test perf:
- ~15million unique terms
- query matches ~3million documents
Params:
facet.mincount=1 facet.limit=500 facet.method=fcs facet.sort=count
Average Time Per Request:
- Before patch: ~20seconds
- After patch: <1 second
Note: all tests pass and in my test, the output was identical before and after patch.
Attachments
Attachments
Issue Links
- is part of
-
SOLR-11711 distributed pivot & field facets can processes excessive docs unneccessarily due to internal mincount=0
- Closed
- is related to
-
SOLR-11711 distributed pivot & field facets can processes excessive docs unneccessarily due to internal mincount=0
- Closed