Utilizing Typesense Multi Search in a NestJS App with Drivers and Vehicles
TLDR Trad was experiencing problems with their multi search in a NestJS app. Jason suggested making changes to the
drop_tokens_threshold to fix the issue.
Oct 24, 2023 (1 month ago)
I am using typesense in nestjs app. I have drivers and vehicles collection with a
searchFiledattribute to store all the fields i will query on later.
the search field on the driver and the assigned vehicle will be the same and contains the same data.
searchFieldin a driver
"searchField": "raniaaref rav 4 22-44518 2020 334",
It contains the driver name '
raniaaref', vehicle model '
rav 4, vehicle plate '
22-44518' , vehicle year '
2020' and driver Id '
I have two vehicles with
camrymodel and one single vehicle with
I am using multi search and when I query for the term
2020 camryIt just return only one vehicle with
I am expecting to return three vehicles two with
camrymodel and one with
what is the issue? If any one can help or advice here please?
drop_tokens_threshold: 1000as a search parameter
Oct 25, 2023 (1 month ago)
But how I can achieve the opposite.
I mean to get the vehicles which are only both Camry and 2020
Oct 26, 2023 (1 month ago)
Indexed 3011 threads (79% resolved)
Issue with Query Expectations on Typesense Search
Sean was having an issue with their search query on Typesense. Kishore Nallan suggested adjusting the 'drop_tokens_threshold' parameter. After making the adjustment, Sean found an issue with the order of the results, which was resolved by updating Typesense version.
Typesense Partial Text Search Functionality Clarification
Davi queries about search behavior in Typesense, not seeing expected results with partial search strings. Jason confirms this behavior as expected and refers to an open feature request to address the query.
Implementing OR Query in Typesense for Multiple-Word Search
Md.Riad was seeking assistance on implementing an OR query in Typesense for multiple word search. Jason clarified that Typesense already provides this feature by default and suggested to adjust the `drop_tokens_threshold` to obtain more varied results.
Inconsistent Results from Filter_by Function in Typesense
Md.Riad was getting varying product results using Typesense's filter_by function. John suggested it might be a typo-correction issue while Kishore Nallan advised increasing the max_candidates parameter.
Discussing Firestore Extension and Collection Schema in Typesense
Loic asks about settings in Firestore Extension and experiences issues with the collection schema in Typesense. Discussion with Jason is ongoing.