1

Resolved

response.isFiltered is always returning false

description

using GSALib v1.3 compiled from C# src and Google Appliance version 5.0.0
 
I am explicitly setting filtering on the query
".setFilter(GSALib.Constants.Filtering.FULL_FILTER)"
 
and the results on google's front end display that "results were omitted".
 
Changing the filter setting via the api and via the query string both affect the available results, but responseObj.isFiltered always returns "false"
 
Any help/fix/suggestions are appreciated.

comments

d2r4 wrote Jun 10, 2008 at 8:48 PM

the tag <FI /> is being handled as in XMLParser.Parse() on "case XmlNodeType.EndElement" but it is an "empty element" not an "end element" so it needs to be handled on "case XmlNodeType.Element"

PrtyLite wrote Sep 17, 2008 at 2:39 PM

Just moving the code in XMLParser.cs from doResponse to startElement works.
The code to move is:
            case XMLTags.FI:
                response.setFiltered(true);
                break;

wrote May 29, 2011 at 12:32 AM

wrote May 29, 2011 at 1:02 AM

wrote Nov 11, 2011 at 7:48 PM

wrote Feb 14, 2013 at 2:30 AM

wrote May 16, 2013 at 7:12 AM

wrote May 16, 2013 at 7:12 AM

wrote Jun 14, 2013 at 6:54 AM

wrote Jun 21, 2013 at 4:26 PM