Rank 2: Process
Hello,
I have a large sneakers database, on which I'm performing full-text searches.
Single word queries work as expected.
Multi-word queries are quite strange:
When I search for Air Max, Air Jordan 11 comes before Off-White Air Max 97.
-
I think InnoDB should return
Off-White Air Max 97first as it contains a full-match, andAir Jordan 11matches only the tokenAir. But the Appwrite API returns everything matching with eitherAirorMaxin a non-prioritized order. -
Looking at the source code, I can see that Appwrite is using boolean mode for the search, but is also stripping all useful characters to perform operations (
+-@><...).
So, how can I perform aANDfull-text search? (Matching only names containingAir Max)
Thanks