beautypg.com

As_lq, As_occt, As_oq – Google Search Appliance Protocol Reference User Manual

Page 12: As_q

background image

Google Search Appliance: Search Protocol Reference

Request Format

12

as_lq

Specifies a URL, and causes search results to show pages that link to the that URL. This parameter has
the same effect as the link special query term (see “Back Links” on page 24). No other query terms can
be used when using this parameter.

For example, to return results that have links to http://myUrl.com/Page, use
as_lq=http://myUrl.com/Page

Default value: Empty string

as_occt

Specifies where the search engine is to look for the query terms on the page: anywhere on the page, in
the title, or in the URL.

For example to specify that the search engine should only look in titles, use as_occt=title

Default value: any

as_oq

Combines the specified terms to the search query in parameter q, with an OR operation.

For example to search for documents that contain the terms“London” or “Paris,” use:
as_oq=London Paris, as_oq=London%20Paris, or as_oq=London+Paris

This parameter has the same effect as the OR special query term and is used only for single words (see
“Boolean OR Search” on page 24).

Default value: Empty string

as_q

Adds the specified query terms to the query terms in parameter q.

For example, to add the terms “enterprise” and “large” use as_q=enterprise large

Default value: Empty string

Value

Meaning

any

anywhere on the page

title

in the title of the page

url

in the URL for the page