Advanced Search Syntax
This release brings the first version of our advanced search syntax to all search boxes on the site. The detailed documentation explains all the syntax, but on a high level:
- Boolean operators are supported by using
- Searches can be scoped against a particular field:
- Searches can be filtered by a specific field:
- Searches can be filtered by a range of values:
Putting that all together you could, for instance, search for questions without a solution, less than one week old, and which mention Linux in the title or in the question content:
exact:question_has_solution:false range:question_created:gt:now-1w field:title:linux OR field:question:linux.
The detailed documentation also lists the various fields you can search on for each document type.
Please let us know below if you have any questions, if you need help with constructing a particular search you have in mind, or if there are any filters you’re missing!
This release also removes the very last pieces of code which referenced our old ES 2.x cluster. While none of this was user facing (we removed all of that in our last release), we can now finally turn off that old cluster, and with that complete our migration away from ES 2.x!