Ignore:
Timestamp:
2018-01-24T20:46:30+13:00 (6 years ago)
Author:
ak19
Message:

Forgot to commit bugfix. The bug was that when searching a solr collection, if you switch on a facet containing an apostrophe (try searching solr-demo for query term farm and then selecting the facet with apostrophe), there are 0 search results displayed for that facet despite the facet listing a positive number of matching docs for it. 1. Greenstone3SearchHandler.java and facet-scripts.js contain the fix. 2. GS2SolrSearch.java and SolrQueryWrapper.java just contain further debug statements, some commented out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java

    r32105 r32110  
    330330            else if (name.equals("facetQueries") && value.length() > 0)
    331331            {
     332                //logger.info("@@@ SOLR FACET VALUE FOUND: " + value);
    332333                this.solr_src.addFacetQuery(value);
    333334            }
     
    410411                hldocOID = null;
    411412            }
     413            //logger.info("@@@@ Query is now: " + query);
    412414            SharedSoleneQueryResult sqr = this.solr_src.runQuery(query);
    413415
Note: See TracChangeset for help on using the changeset viewer.