- The following can be used within the query:
term1 term2 … terms that must all occur "term1 term2 …" a string of terms that must occur literally +term a term that must occur -term a term that must not occur term~ a term that should occur at least approximately "term1 term2 …"~n a string of terms that must occur at most n words apart field:form a form that should occur within a given field form^b a form that is to be boosted by b for purposes of ranking
- The following additional and alternate forms are also supported:
term1 AND term2 AND … terms that must all occur term2 OR term2 OR … terms where at least one must occur NOT term a term that must not occur (query) grouping within a query string \c a character such as + or : that must occur verbatim
Examplesopen allclose all
Basic Examples (6)
A sequence of terms is interpreted as ContainsAll by default:
Possible Issues (2)
SearchQueryString can only be used when searching on an index:
Wolfram Research (2016), SearchQueryString, Wolfram Language function, https://reference.wolfram.com/language/ref/SearchQueryString.html.
Wolfram Language. 2016. "SearchQueryString." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SearchQueryString.html.
Wolfram Language. (2016). SearchQueryString. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SearchQueryString.html