Issue with Result Counts Across Pages with Many Pinned Hits
TLDR John reports invalid 'found' value with a high number of 'pinned_hits' applying filters. They provided data and suggested a workaround. Kishore Nallan acknowledged the unusual case and proposed an error message for such issue.
1
Nov 22, 2022 (11 months ago)
John
10:00 AMfound
when having many pinned_hits
combined with some filters. On page 1 it says 512 (weird coincidence?) results and it increases up to the actual result count of 713 as I paginate past the first 512 results. Possible to fix somehow or is it unavoidable that this happens sometimes? I know many search engines only guarantee approximate result counts.Kishore Nallan
10:02 AMJohn
02:03 PMLet me know if you’d like me to create an issue
John
02:03 PM> On page=2 got found=9549
> On page=3 got found=9799
> On page=4 got found=9993
> On page=5 got found=9993
> On page=6 got found=9993
> On page=7 got found=9993
> On page=8 got found=9993
> On page=9 got found=9993
> On page=10 got found=9993
> On page=11 got found=9993
> On page=12 got found=9993
> On page=13 got found=9993
> On page=14 got found=9993
> On page=15 got found=9993
> On page=16 got found=9993
> On page=17 got found=9993
> On page=18 got found=9993
> On page=19 got found=9993
John
02:09 PMKishore Nallan
02:16 PM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Increased Memory Usage After Implementing `pinned_hits` in Typesense
John experienced a significant increase in memory usage after using `pinned_hits` at query time in Typesense. Kishore Nallan suggested that the increase was due to the filtering of the dataset but the issue remains unresolved.
Resolving Typesense Result Issue in Document Collection Queries
Mike was encountering errors when searching for specific query in their Typesense document collection. Jason suggested it may be due to the `drop_tokens_threshold` setting. There was a misunderstanding but after further explanation from Jason, Mike understood and decided to continue the conversation via email.
Large JSONL Documents Import Issue & Resolution
Suraj was having trouble loading large JSONL documents into Typesense server. After several discussions and attempts, it was discovered that the issue was due to data quality. Once the team extracted the data again, the upload process worked smoothly.