FIELDS
The following example searches for the term “foo” in the specified field:
title:foo
or url:bar
or content:baz
WILDCARDS
A wildcard is represented as an asterisk (*) and can appear anywhere in a search term. The following will match all documents with words beginning with “foo” or ending with "oo":
foo*
or *oo
BOOSTS
In multi-term searches, a single term may be important than others. Any article that matches a boosted term will get a higher relevance score, and appear higher up in the results. The first example weights the term “foo” 10 times higher than the term “bar”:
foo^10 bar
or foo^10 bar^5 baz
FUZZY MATCHES
Can be helpful if the spelling of a term is unclear, or to increase the number of search results that are returned. The following search matches articles that have a word within 1 edit distance of “foo”:
foo~1
An edit distance of 1 allows words to match if either adding, removing, changing or transposing a character in the word would lead to a match. For example “boo” requires a single edit (replacing “f” with “b”) and would match, but “boot” would not as it also requires an additional “t” at the end.