Akash Kumar
04/30/2025, 5:56 AMcurl
request I'm using:
bash
curl --location '
<https://ew5h2tr67livkp41p-1.a1.typesense.net/multi_search?x-typesense-api-key=ynYXfz3KuyLdSvLrMitLZWtsOImkATlb>' \
--header 'Content-Type: application/json' \
--data '{
"searches": [
{
"q": "*",
"filter_by": "isOutOfStock:N && bookType:[0] && lvl0:=[Higher Education Textbooks]",
"facet_filter_by": "isOutOfStock:N && bookType:[0]",
"query_by": "title",
"page": 1,
"facet_by": "agedGroup,author,binding,bookCondition,language,lvl0,lvl1,price,publication",
"max_facet_values": 20,
"num_typos": 2,
"typo_tokens_threshold": 10,
"per_page": 12,
"sort_by": "num_is_out_of_stack:asc,bookId:desc",
"facet_sample_threshold": 1000,
"facet_sample_percent": 20,
"highlight_full_fields": "title",
"collection": "books_collection"
}
]
}'
I want to understand why categories with the same names (or visually similar ones) appear more than once in the filter results. Any idea what could be causing this? @Kishore Nallan