Query Language
siteMETA search service has an advanced query language that includes Boolean operators,
refinement operators, field restriction operators.
siteMETA can also ignore stop words you have indicated.
Boolean Operators
| Īšerator |
Description |
| + |
Boolean AND. This operator is applied by default.
It searches for records that contain both of the words it separates,
i.e. the query , i.e. the query cocktail recipe
is equal to the query cocktail + recipe. |
| - |
Boolean AND NOT. It lets you exclude documents where an entered word is present.
For instance, for the query cocktail -vodka results will contain documents
where there is the word cocktail but there is no word vodka. |
| | |
Boolean OR. It lets you find documents that contain any of given
words. For instance, the query seafood | shrimp reveals documents which
contain seafood or shrimp or both words. |
Operators priority may be altered with the sequential operator "( )". If you need to find
documents containing phrases vacation at the Bahamas or vacation at the Caribbean,
you can use the brackets to specify the operators order: vacation at the (Bahamas | Caribbean).
Refinement Operators
| Īperator |
Description |
| "..." |
The double quote marks let you search for documents contating exact phrases.
An enquoted query returns documents which contain words of the same form
and in the same order as the keywords. |
| [n, ...] |
This operator lets you refine you query by limiting the distance between
keywords. For instance, the query [5, mobile phone] returns documents
containing both words mobile and phone with the distance up to 5 words
between them. |
| * |
Wildcard operator. It specifies 0 or more alphanumeric characters.
You can use wildcards to obtain special results. For example, the query air*
finds documents that contain air, airline, and airhead.
You cannot use this wildcard as the first character in an expression. |
Field Restriction Operators
| Īperator |
Description |
| title |
This operator searches only across document titles, but not the whole document content.
For example, the query title( prices ) finds documents containing
the word prices in their titles, and the query title("technical documentation")
returns documents containing the phrase technical documentation in their titles. |
| heading |
This operator searches only across document headings.
For example, the query heading( requirements )
returns documents containing requirements in the tags heading. |
| url |
This operator searches only document URLs.
For example, the query url=www.sitemeta.com/doc/about.asp
returns documents with this exact URL. The operator supports the wildcard operator "*", i.e.
the query url=www.sitemeta.com/doc/* returns documents
containing URLs satisfying this query. |
|