#community-help

Discrepancy in Result Counts for Facet_by and Filter_by

TLDR Ivan asked why result counts varied between facet_by and filter_by. Kishore Nallan suggested checking for multiple fields with the same string, which Ivan confirmed was the issue.

Powered by Struct AI
3
21mo
Solved
Join the chat
Apr 04, 2022 (21 months ago)
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
10:47 AM
Hi Kishore Nallan Jason why results counts can be different for facet_by and filter_by? When i am using search like this:
facet_by: referencetodocument,
facet_query: 823 bgb
it gives facet count 1499, but when i search for this:
facet_by: referencetodocument,
filter_by: 823 bgb
it gives only 1234 results
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:35 AM
Can you verify that there aren't multiple field values that contain the string 823 bgb?
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
03:09 PM
We found that we have multiple field values, thanks Kishore👋