beautypg.com

Google Search Appliance Protocol Reference User Manual

Page 28

background image

Google Search Appliance: Search Protocol Reference

Request Format

28

Number Range Search

To search for documents or items that contain numbers within a range, type your search term and the
range of numbers separated by two periods (..). You can set ranges for weights, dimensions, prices
(dollar currencies only), and so on. Be sure to specify a unit of measurement or some other indicator of
what the number range represents.

Sample usage:

pencils $1.50..$2.50

Phrase Search

Search for complete phrases by enclosing them in quotation marks or by connecting them with
hyphens. Words marked in this way appear together in all results, exactly as you enter them. Phrase
searches are especially useful when searching for famous sayings or proper names.

You can also use the as_epq search request parameter (see “as_epq” on page 11) to submit a phrase
search.

Sample usage:

"yellow pages"
yellow-pages

Text Search (one term)

If you precede a query term with intext:, the search appliance restricts the search to documents that
contain the search word in the titles or body text of the documents. The search appliance does not
search for the query word in the metadata, anchors, or urls.

Sample usage:

intext:google

Text Search (all terms)

If you precede a query term with allintext:, the search appliance restricts the search to documents
whose titles or body text contains the search terms. The search appliance does not search for the query
words in the metadata, anchors, or urls. Returns only documents that have the search terms in the title
or body text of the document.

Sample usage:

allintext:google search

Title Search (one term)

If you precede a query term with intitle:, Google search restricts the results to documents containing
that word in the title.

Putting intitle: in front of every word in your query is equivalent to putting allintitle: at the front
of your query.

For plain text files, the search appliance displays results using the first 70 KB of the file as the title.
Because the document does not have a title, the intitle special query term does not work for plain
text files.