As_sitesearch, Client, Dnavs – Google Search Appliance Protocol Reference User Manual
Page 13: Entqr

Google Search Appliance: Search Protocol Reference
Request Format
13
as_sitesearch
Limits search results to documents in the specified domain, host or web directory, or excludes results
from the specified location, depending on the value of as_dt. This parameter has the same effect as the
site or -site special query terms. It has no effect if the q parameter is empty.
When the Google Search Appliance receives a search request that includes the as_sitesearch
parameter, it converts the value of the parameter into an argument to the site special query term and
appends it to the value of q in the search results. For example, suppose that a search contains these
parameters:
q=mycompany&as_sitesearch=www.mycompany.com
The raw XML of the search results contains the following:
mycompany site:www.mycompany.com
The default XSLT stylesheet displays the value of the q tag in the search box on the results page.
Consequently, using an as_sitesearch parameter changes the user’s search query by modifying the
contents of the search box.
The specified value for as_sitesearch must contain fewer than 125 characters. See also the site
parameter (see “site” on page 19).
Default value: Empty string
client
Required parameter. If this parameter does not have a valid value, other parameters in the query string
do not work as expected.
A string that indicates a valid front end and the policies defined for it, including KeyMatches, related
queries, filters, remove URLs, and OneBox Modules. Notice that the rendering of the front end is
determined by the proxystylesheet parameter. Example: client=myfrontend
dnavs
Used when the dynamic navigation feature is enabled and applied to a front end.
This parameter stores the current dynamic navigation filters applied in the search results. It does not
affect the search results in any way and is used only in the XSLT rendering logic. Dynamic navigation
uses the q parameter for affecting search results by appending the selected filters as inmeta: query
terms.
entqr
This parameter sets the query expansion policy according to the following valid values:
Value
Description
0
None
1
Standard (entqr=1)—Uses only the search appliance’s synonym file.
2
Local (entqr=2)—Uses all displayed and activated synonym files.
3
Full (entqr=3)—Uses both standard and local synonym files.