-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Recognize search phrases/multiple words as AND, not OR #2457
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
Comments
Our company is looking for this feature request as well. It would be very helpful to our readers to search a phrase. Even if that meant wrapping the search string with quotes as a workaround, it would greatly improve the search feature. |
I'd like to get this as one of the next steps in our Summer of Code project (https://github.com/orgs/rtfd/projects/3). Having the ability to search with quotes and other common "google style" search queries would be a really good improvement for our search. |
So, this feature should:
|
Can linking to a heading above the search term rather than just the top of the doc also be part of the summer of code? (Your link to projects above is 404 so I can't see what's already there.) |
@barbara-sfx The project has been made public. You will be able to access it now. |
Thanks @safwanrahman. How would I create a feature request for you guys to prioritize and determine if/when you might address it? Ideally, clicking on a search result would go to the actual matching sentence. I said heading (in my comment above) because I thought that would be more do-able. But navigating to the actual sentence or paragraph is actually what I would expect to see when I click a search result. |
@barbara-sfx You can create new issue for any feature you would like to get implemented. For taking our attention, you can mention me in the issue, so I can look into it and assign proper flag. |
[Fix #2457] Implement exact match search
It has been fixed by #4292 |
@austin-plixer It has been fixed in the |
[Fix readthedocs#2457] Implement exact match search
[Fix readthedocs#2457] Implement exact match search
Details
I'm not sure if this is an issue or a feature request.
Step:
Search for "metric proxy" (including the quotes)
Actual Result
All docs containing either or both words are returned. We have the word "metric" on many many pages, so these results really don't help.
Expected Result
Ideal: Only pages containing the exact phrase "metric proxy" are returned.
Better than now but not ideal: Only pages with both words are returned
In general, if a search phrase has multiple words, without quotes, I think this should be interpreted as a boolean AND, so only pages containing both words should be returned.
The text was updated successfully, but these errors were encountered: