Resolution: Not A Bug
Affects Version/s: None
Fix Version/s: None
Component/s: Facet Module
I was experimenting / analysing the new Refinement feature in JSON Facet Apis introduced in
SOLR-7452. Passing refine:true with the facet definition.
I am listing down the test-scenarios along with test-data:
3 sharded collection on 3 nodes
node/shard: bucketVal - count
8987: C - 1
8983: C - 4 D - 1 E - 1 A - 1
8985: E - 2 A - 1 D - 1
C - 5 E - 3 D - 2 A - 2
It is giving accurate results for COUNT ASC, LIMIT 1 - 4
BUT, COUNT DESC, LIMIT 2 and 3
bucketVal E and its count 3 is not in facet response Pardon me if I am missing some configuration or this behavior is right / justified. Ideally we should see bucketVal E and its count 3.
I am attaching Index DOCS, debugQuery for COUNT DESC, LIMIT 2 and LIMIT 3.