beautypg.com

Google Search Appliance Protocol Reference User Manual

Page 50

background image

Google Search Appliance: Search Protocol Reference

Request Format

50

11. Metadata can have multiple attributes with the same name. For example:




If multiple values are available and if any of the attribute values match the search query, a link to
the document appears in the search results.

12. While inmeta supports wildcard search, it does not support boolean logic. Use requiredfields

instead to combine wildcard search and boolean logic.

Examples

Example 1. These first query examples show how search requests are related to meta tags in the
following example of a web page.

My Title




Hello world.

The following search request is for a match to the lower bound value within the currency range:

inmeta:mycurrency:60.00999..

The following search request is for an exact match to the float value:

inmeta:myfloat:1.23456..1.23456

The following search request is for an exact match to a date or date range:

inmeta:mydate:2011-03-05..2011-03-05
- or -
inmeta:mydate:daterange:2011-03-05..2011-03-05

Example 2. The following search request returns results that contain the word “Scott” somewhere in the
“author” meta tag. Some example meta tags that satisfy this search request are:


books inmeta:author~Scott

Example 3. The following search request returns results that contain “size” meta tag values between 30
and 50 inches:

flat+panel+TV inmeta:size:30..50