Jonathan Zylberberg
04/24/2025, 3:02 PM<http://orangetheoryfitness.com|orangetheoryfitness.com> fl boca raton 6000 broken sound pkwy nw
and drop_token_mode:right_to_left
. In the response I see "num_tokens_dropped": 7
so I would expect that the query matched on <http://orangetheoryfitness.com|orangetheoryfitness.com> fl
but when I look at the highlights and the results it seems to have actually matched on <http://orangetheoryfitness.com|orangetheoryfitness.com> pkwy
instead. How are tokens dropped and what does drop_token_mode
actually do then? Thank you!!Rob Bast
04/24/2025, 3:13 PMnw
. then it searched again, and there were some matches (so pkwy
matched?) but not enough so it drops it and proceeds this process until enough matches are foundRob Bast
04/24/2025, 3:15 PMKishore Nallan
04/24/2025, 3:48 PMbut when I look at the highlights and the results it seems to have actually matched onNote that we could highlight a keyword from the query that is present in the result even if the actual search keywords that found that query is a different set.<http://orangetheoryfitness.com|orangetheoryfitness.com> pkwy
Kishore Nallan
04/24/2025, 3:53 PMquery_by
(we just try to match the content on the stored field with query tokens).
So hard to say what exactly is happening. If you are able to share a simple example in this format, I can maybe debug: https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b