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.
Apr 04, 2022 (21 months ago)
Ivan
10:47 AMfacet_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
11:35 AM823 bgb
?Ivan
03:09 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Understanding Facet Results in Typesense
Prabhu had difficulty understanding the count results of his facet results in Typesense. Kishore Nallan explained the behaviour and suggested creating a Github issue for a feature request to modify count behaviour.
Understanding Filtering, Faceting and Their Differences
Gabe inquired about using a boolean field for filtering, sparking a detailed discussion about the distinctions between filtering and faceting with Jason providing a comprehensive explanation.
Understanding Search Query's `facet_by` Implementation
Subas inquired about `facet_by` while making a search query and received clarifications from Jason. Issue not fully solved as further discussion is needed.