Changeset 20238 for greenstone3

Show
Ignore:
Timestamp:
12.08.2009 14:56:31 (11 years ago)
Author:
kjdon
Message:

set case to true by default (and don't set it to false again straight after that)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/service/GS2MGSearch.java

    r14633 r20238  
    7171         
    7272        this.mg_src.setMaxNumeric (this.maxnumeric); 
    73          
    7473        return true; 
    7574    } 
     
    216215    protected boolean setStandardQueryParams(HashMap params) 
    217216    { 
    218     // set the default ones 
     217    // set the default settings that gs uses 
    219218    this.mg_src.setReturnTerms(true); 
    220     this.mg_src.setCase(true); // turn casefolding on by default 
     219    this.mg_src.setCase(true); 
     220    this.mg_src.setStem(false);  
    221221    Set entries = params.entrySet(); 
    222222    Iterator i = entries.iterator(); 
    223     this.mg_src.setCase(false); 
    224     this.mg_src.setStem(false);  
    225223    while (i.hasNext()) { 
    226224        Map.Entry m = (Map.Entry)i.next();