Results > Search and Retrieve > Combine Different Search Types > Exact Phrase and Boolean Searches

Exact Phrase and Boolean Searches
If you combine an exact phrase search for multiple phrases (in which the individual phrases are framed by quotation marks) with a Boolean search, IDOL server obeys the Boolean rules while executing the exact phrase search. Enclosing phrases in brackets ensures that Boolean operators tie to entire phrases. For example:
http://IDOLhost:port/action=Query&Text=("Egyptian cats")+AND+("Phoenician sailors")
This query returns only documents that match the phrase Egyptian cats, as well as the phrase Phoenician sailors (after stemming and stopping).
http://IDOLhost:port/action=Query&Text=("Egyptian cats")+NOT+("Phoenician sailors")
This query returns only documents that match the phrase Egyptian cats, but not the phrase Phoenician sailors (after stemming and stopping).