Hello, Still very happy with what typesense offere...
# community-help
g
Hello, Still very happy with what typesense offered so far. Thank you again ! We are trying to improve the
UX
of the search and we have for goal to make sure our facet count are super clear what ever the user is doing. I was reading through the documentation and found out about https://typesense.org/docs/guide/faqs.html#why-do-i-sometimes-get-more-results-when-adding-filters and the
max_candidates
param. I'm a bit worried of what could happen. I want to make sure that if a query is type, let say
q=lawyer
and in my
job_department
facet I've got 9545 count for the
law
facet, this count will stay the same. I see you suggest
max_candidates=100
but it feels really low and I'm not sure I proerly understand the issue and the consequences. I dully noted that we talk about perf. Thanks !
n
I'm working with around 30 mil records, and around 15-20 facets on that collection. Best thing you can do is try to experiment. In our case, 10k solved the issues as not all results were shown. Performance impact was negligible.
1