Handling Hyphenated Terms in Search Queries
TLDR A asked about search support for hyphenated terms. Jason advised to add hyphen in the token separators config to index them as two words.
Feb 05, 2022 (23 months ago)
A
05:38 PMJason
05:40 PMJason
05:40 PMA
05:42 PMJason
06:05 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Dealing with Hyphenated Search Results in Typesense
Martin faced issues with hyphenated search results in Typesense. Jainil suggested using `token_separators` to index such search terms separately.
Handling Infix Search in Typesense
Lalit asked about handling infix search in Typesense. Dima suggested adding '-' to token separators. Lalit anticipated more special cases. Kishore Nallan argued infix search might be CPU intensive and might be better for handling initial typos.
Adjusting Text Match Score Calculation in TypeSense
Johannes wanted to modify the Text Match Score calculation in TypeSense to improve search results returns. With counsel from Jason and Kishore Nallan, various solutions were proposed, including creating a Github issue, attempting different parameters, and updating Docker to a new version to resolve the matter.