AquaLogic Interaction User Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

About Operator Modes

The Search Service parses queries to determine which operator modes to use for the query.

Bag of Words Mode

If the query does not include any search operators (+/-, AND, OR, NEAR, etc.), the Search Service parses the query in Bag of Words mode. Each word in the query must be present in all of the search results; the Boolean AND operator is implicit.

Query Operators Mode

If the query includes query operators, the Search Service parses the query in Query Operators mode.

Query operators AND, OR, NOT, and NEAR are spotted without any special marking (for example, cat AND dog), but all other operators must be surrounded by angle brackets (for example, <WORD>) to be recognized as having special meaning.

A query that contains three or more terms and an operator is parsed as if the terms on each side of the operator were quoted phrases.

Example: Search Service and Notification

This query is parsed as: “Search Service” AND Notification

Search operators are localized for the following European languages: English, Danish, Dutch, Finnish, French, German, Italian, Norwegian (Bokmal), Norwegian (Nynorsk), Portuguese, and Spanish. If you put angle brackets around the operators, the English versions are also recognized. For example, in the Spanish locale, the following queries are equivalent: perro Y gato, perro <AND> gato, and perro gato. However, perro AND gato is not equivalent in the Spanish locale, because AND is not surrounded by angle brackets.

Anything enclosed in angle brackets but not recognized as one of the supported operators is ignored.

Internet Style Mode

If the query includes operators common to internet search engines such as AltaVista and Google, the Search Service parses the search in Internet Style mode. All terms preceded by a plus (+) are required. All terms preceded by a minus (-) are excluded. If at least one term is preceded by a +, then any “plain” terms not preceded by a + or - are used to boost ranking of results, but are not required. For example, consider the following query: +dog -cat bird

This query returns documents that contain dog but do not contain cat, and ranks documents with both dog and bird highest. Compare this to a similar query: bird -cat

This query returns documents that contain bird but do not contain cat. Absent any + terms, the plain term bird is treated as a required term.


  Back to Top      Previous Next