<@U01PL2YSG8L> <@U01NZ4D0LDD> - Good morning/eveni...
# community-help
r
@Kishore Nallan @Jason Bosco - Good morning/evening; I'm getting count mismatch in results for the below usecase; I hope, I might have missed something; Your help/advise on this would be greatly appreciated. Usecase: When Searching a collection using q:john and query_by:* we are getting 14664 result count with one of the facet field value (CASE_TYPE:Medicaid) as 5; After that, when I filter the Medicaid CASE_TYPE Facet, I'm getting 7 records instead of 5; I've tried with exhaustive_search true as well; Still, I'm getting the count mismatch; Am I missing something here. Thanks in advance Sample Query For your reference: { "searches": [ { "exclude_fields": "vector", "query_by": "*", "sort_by": "CASE_ID:asc", "highlight_full_fields": "*", "collection": "NV_CASE_SEARCH", "q": "john", "facet_by": "CASE_STATUS,CASE_TYPE", "filter_by": "CASE_TYPE:=[
Medicaid
]", "max_facet_values": 100, "page": 1, "per_page": 10 } ] }
j
r
Hello @Jason Bosco - Thank you for your reply; Yes, my usecase is relevant to the first one. As per the suggestion given by @Kishore Nallan in that, I've tried with different combination of max_candidates parameter; Sometimes the count matches (mostly when the max_candidate is greater than the particular facet count) and sometimes not; Is there anything that I'm missing here. Thanks in advance.