Changeset 32550 for gs3-extensions


Ignore:
Timestamp:
10/30/18 10:52:21 (2 years ago)
Author:
kjdon
Message:

set the q.op param for the query to get some/all searches working properly

File:
1 edited

Legend:

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

    r32110 r32550  
    378378        solrQuery.setParam("hl.tag.pre", "<span class=\"snippetText\">" );
    379379        solrQuery.setParam("hl.tag.post","</span>" );
    380        
     380
     381        // set the default conjunction op
     382        solrQuery.setParam("q.op", this.default_conjunction_operator);
    381383        if (docFilter != null) {
    382384            solrQuery.setParam("fq", "docOID:" + docFilter + "*");
Note: See TracChangeset for help on using the changeset viewer.