Comments on How to refine search for multiple words?
Parent
How to refine search for multiple words?
How to refine search for multiple words?
If I search 'Rain' I get 30 groups of answers. https://outdoors.codidact.com/posts/search?utf8=%E2%9C%93&search=rain
If I search 'Rain gear' I get 75 groups of answers. https://outdoors.codidact.com/posts/search?utf8=%E2%9C%93&search=rain+gear
The advanced search options say
Advanced Search Options
To further refine your search, you can use additional qualifiers such as core:>1. For example, the search score:>=2 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 2 and were created less than a year ago.
Post
The technical details of how search works are in the MySQL manual, which includes a full list of operators. The short version: we use a MySQL FULLTEXT index for search, which gets us some useful things for free.
How you express your search depends on exactly what you're searching for. You could search for +rain +gear
, which would match posts that include both words (but not necessarily together), or you could search for "rain gear"
, which would match posts that contain that phrase exactly.
0 comment threads