#community-help

Typesense Search Issue for Two Terms

TLDR Andreas had a question about a search problem in Typesense. Kishore Nallan suggested it should be fixed in version 0.23. However, Andreas confirmed the issue persists in 0.23.1.

Powered by Struct AI
Oct 12, 2022 (12 months ago)
Andreas
Photo of md5-2f94b63d050dad6ced4a85316a658c61
Andreas
11:56 AM
Hi there, shouldn’t a search for two terms like in this example act like an OR search and produce identical results?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:06 PM
Yes, what version of Typesense is this on?
Andreas
Photo of md5-2f94b63d050dad6ced4a85316a658c61
Andreas
12:35 PM
0.22.1
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:37 PM
Gotcha, this behavior should be much better in 0.23 and recent RCs. Earlier, cross field matches of tokens in the query across different fields were a bit of a brute force so this could have happened. It should be fixed in 0.23+
Andreas
Photo of md5-2f94b63d050dad6ced4a85316a658c61
Andreas
12:37 PM
also happens with 0.23.1