This message was deleted.
# community-help
s
This message was deleted.
k
That query looks fine to me. What error are you getting?
k
need to understand how I could use different values for k and flat_search_cutoff. I understood flat_search_cutoff would be the number of expected items. but how k value associates with the query ?
k
K is max number of results you want to get.
k
ok , then flat_search_cutoff. is not it aslo pointing to max number ?
Another point is how I could supply multiple combination in "filter_by", like "filter_by": "category:shoes, meterialleather,makeindia"
k
We have explained how flat search cutoff works in our docs here: https://typesense.org/docs/0.24.1/api/vector-search.html#brute-force-searching
Check filter by documentation in the docs. There are examples.
k
ok but I only can see this, where no multiple "filter_by" example provided. Can you help me on this ?
k
ok thanks ... its working
But looks k value and flat search cutoff not working. even if I am giving 5 for both query returning 10 documents.
k
Try setting per_page param lower. If that's higher that takes precedence.
Default is 10
We've fixed this in recent builds.
k
ok ... shall try both ... thank you very much/