Resolving Issues with Search Function in Typesense
TLDR Anh-Jo had problems with the search functionality in Typesense using a large JSON file. Kishore Nallan provided a guide that solved the issue.
Dec 21, 2022 (10 months ago)
Anh-Jo
02:42 PMBut before I post in thread my issue, thank you for opening this slack for your user !
Anh-Jo
02:43 PMI'm running Typesense locally (in a Docker container with version 0.23.1), and I tried to index a large JSON file with users data. I tried with auto-discover schema and with manual schema to create a collection, then injecting my document (everything went well at this point).
The issue is when I attempt to search in this collection for some document (for exemple by email field), I only get some result which start with my input, and not who "contains" my input. For exemple if I search "test" I should get for output document with email like "[email protected]", "[email protected]", ...etc but I only got something like "test@something"
Can you help me to understand what happen about indexing and how to solve it ?
Kishore Nallan
02:44 PMAnh-Jo
02:49 PMJust tried and it seems that you solve my problem !
Anh-Jo
02:49 PMKishore Nallan
02:52 PMTypesense
Indexed 2786 threads (79% resolved)
Similar Threads
Troubleshooting Search Function with Typesense
Rohan had trouble understanding how search functions in Typesense with email string fields. Kishore Nallan explained the logic of indexing and introduced new features in the 0.22 RC version, advised Rohan to create an issue regarding schema creation errors.
Issue with Typesense Search and Special Characters
gab faced an issue with Typesense when searching with special characters. Jason and Kishore Nallan provided support and identified the issue as a bug. The problem was resolved after upgrading to `0.25.0.rc44`.
Typesense Cloud Search Issue for Large Collections
Anh-Jo encountered search issues in a large collection. Jason identified the `max_candidates` parameter was causing the problem and mentioned the update in `0.24.1` would help.