beautypg.com

Query terms, Special characters: query term separators – Google Search Appliance Protocol Reference User Manual

Page 22

background image

Google Search Appliance: Search Protocol Reference

Request Format

22

This search request includes the custom parameter myparam with a value of test+this . The space
character (represented as "+") in the custom parameter myparam is replaced by the underscore
character (_) in the XML output.

The resulting XML output looks like this:


The unmodified value can be retrieved from the original_value attribute.

Query Terms

By default, the Google Search Appliance returns only pages that include all of your search terms. You do
not need to include “AND” between terms. The order of search terms affects the search results. To
further restrict a search, just include more terms. To use keywords such as AND as regular search terms
instead of as special keywords, enclose them in quotes.

The search appliance may ignore common words and characters such as where and how and other
digits and letters that slow down a search without improving the results.

If a common word is essential to getting the results you want, you can include the word by putting
double quotes around it. For example, to ensure that Google includes the “I” in a search for “Star Wars
Episode I”, enter the search query as follows:

Star Wars Episode “I”

Special Characters: Query Term Separators

By default, non-alphanumeric characters in a search query separate the query terms in the same way as
space characters. For example, the following search term is not one query term, but six query terms:

3,6-DICHLORO-2-PYRIDINECARBOXYLIC ACID

The terms are:

3
6
DICHLORO
2
PYRIDINECARBOXLYIC
ACID

The following characters are exceptions:

Character

Description

Double quote mark (")

Used as a special query term for phrase searches. Note that using double
quotation marks for phrase search does not reduce the number of query
terms. For example, the search term 3,6-DICHLORO-2-
PYRIDINECARBOXYLIC ACID is six query terms whether or not it is
enclosed in quotation marks.

Forward slash (/)

Used as a special query term for phrase searches.

Plus sign (+)

Treated as a Boolean AND.