How to Add filter =1 in querystring

18 views
Skip to first unread message

jason411

unread,
Dec 22, 2009, 1:52:48 PM12/22/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Recently, we started getting duplicate documents for every search. We
have 2 front ends, one is a test front end, and one is a production
version. When I search the production version, I see this querystring
appended to our search:

http://mycompanyMachineHere/search?q=slow+performance&site=default_collection&entqr=0&filter=0&ud=1&filter=0&sort=date%3AD%3AL%3Ad1&filter=0&output=xml_no_dtd&filter=0&oe=UTF-8&ie=UTF-8&filter=0&client=product_line&filter=0&proxystylesheet=product_line&filter=0

If I change all of the 0's into 1's, this eliminates the duplicate
problem and solves everything.

My question is, how do I do this? When I change it in the XSLT code
for the front end, it does nothing to fix the problem. The same
querystring is still added on. Can anyone please help me with this?

jason411

unread,
Dec 22, 2009, 2:28:25 PM12/22/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Just to clarify, the querystring should have looked as follows:

htp:/mymachine/search?q=slow
+performance&site=default_collection&entqr=0&filter=0&ud=1&filter=0&sort=date
%3AD%3AL
%3Ad1&filter=0&output=xml_no_dtd&filter=0&oe=UTF-8&ie=UTF-8&filter=0&client=product_line&filter=0&proxystylesheet=product_line&filter=0

(I just removed a t from http and a / so it wouldn't paste it as a
condensed link).

As you can see, there are many filters = 0 that need to become 1.
Where do I change this though?

johnd

unread,
Dec 22, 2009, 4:18:19 PM12/22/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
It's how you call the search initally. either from a page or form on
your site or you can set a default in the GSA
Google Search Appliance >Administration >System Settings > Default
Search URL

Read here about what the filter parameter really does:
http://code.google.com/apis/searchappliance/documentation/60/xml_reference.html#request_filter_auto

Read here about what the entqr parameter does:
http://code.google.com/apis/searchappliance/documentation/60/xml_reference.html#request_parameters

PS. you only need one "filter=" parameter.

On Dec 22, 1:28 pm, jason411 <jsulli...@cdcsoftware.com> wrote:
> Just to clarify, the querystring should have looked as follows:
>
> htp:/mymachine/search?q=slow

> +performance&site=default_collection&entqr=0&filter=0&ud=1&filter=0&sort=da­te
> %3AD%3AL
> %3Ad1&filter=0&output=xml_no_dtd&filter=0&oe=UTF-8&ie=UTF-8&filter=0&client­=product_line&filter=0&proxystylesheet=product_line&filter=0

Reply all
Reply to author
Forward
0 new messages