Querying Full Names in Typesense
TLDR clem enquired on how to query full names with spaces in Typesense and attempted solving this by removing the spaces. Kishore Nallan explained Typesense prioritizes exact matches and no preprocessing is required. clem realized the problem was with their client, not Typesense.
Sep 06, 2021 (24 months ago)
userstable with the following attributes:
Bob Bert. Now i want to query by the full name, meaning my user should be able to query for
fullNameis updated, it will set a new attribute called
trimmedFullName(which will be remove the space):
apologies, I jumped the gun and it was an issue on the client side where the presence of the space in the url was not triggering the search… indeed the typesense search works like a charm with the space, i just tested in postman
Kishore Nallan02:34 AM
Kishore Nallan02:35 AM
?q=john smith&query_by=fullNameshould already surface exact "John Smith" records at the top.
Kishore Nallan02:41 AM
Indexed 2764 threads (79% resolved)
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.
Issues and Improvements in Typesense with 14 Million Records
Miguel experienced performance issues when using Typesense for large datasets. Jason suggested performance improvements made to Typesense since then and directed them to specific server-side parameters for better handling. Miguel agreed to try again.
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.