-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handle AND in text query #7
Comments
@eroux, our current search does AND by default. |
We don't do it in the etexts (which is a big use case for the AND) if users type "AND" in the query it will mess it up in the current system We don't provide control over where to cut the phrase, or multiple AND We don't provide AND for long queries So no |
In etexts we currently require exact phrase which is AND by default. Users practically never type AND. According to our logs, roughly ten times in a million, probably including ourselves testing. I can spend time taking care of this 0.001% of use cases if you want. |
the usage of AND on the production website is the following: if the user types "gsung 'bum AND mi pham" (I know, this example works on the dev website, that's not the point) it will select results with a match phrase for "gsung 'bum" and a match phrase on "mi pham", see https://www.bdrc.io/blog/2021/03/03/search-me/ We can imagine having that as a low priority, but let's not give up on it no |
we could imagine having an additional syntax with double quotes, like |
On the current website when there is an AND, the query is interpreted as two (or well, multiple) phrases separated by " AND ". This is particularly useful for etexts. There might be better ways for users to indicate that but since it already exists let's handle it
The text was updated successfully, but these errors were encountered: