Multi-word Search Query by Two Fields Issue
TLDR Six was having trouble with a multi-word search considering more than one query field. Kishore Nallan suggested the 0.23.0.rc54
build for cross field matching.
1
1
Apr 17, 2022 (19 months ago)
Six
03:03 AMExample, I have two fields I'm querying by "payer,receiver"
If I search for "Thatcher Tosh" I would expect the top result to be where the payer is "Tosh" and the receiver is "Thatcher", however it seems to be prioritizing just one query field and the result I'm looking for doesn't even show up. I have both fields weighted the same.
Any idea?
Kishore Nallan
03:07 AM0.23.0.rc54
build.1
Six
03:07 AMKishore Nallan
03:11 AM1
Typesense
Indexed 2786 threads (79% resolved)
Similar Threads
Querying Multiple String Requirements on a Single Field
Todd had a query on string requirements on a single field using the 'q' parameter. Jason clarified and guided suggesting using `filter_by=field:word1` for desired results.
Issues With `text_match` Scoring for Search Queries in Typesense
Colin encountered issues with the `text_match` scoring on Typesense v0.23.1. Jason and Kishore Nallan identified a potential issue with numeric overflow in the text match score and applied an unverified patch. The final resolution is unclear.
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.