Changeset 32550

Show
Ignore:
Timestamp:
30.10.2018 10:52:21 (3 weeks ago)
Author:
kjdon
Message:

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

Files:
1 modified

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 + "*");