Changeset 20239

Show
Ignore:
Timestamp:
12.08.2009 14:57:07 (10 years ago)
Author:
kjdon
Message:

set casefolding to true by default

Files:
1 modified

Legend:

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

    r16873 r20239  
    7777    } 
    7878     
     79    // set up the defaults which are not dependent on query parameters 
    7980    // the default level is also the level which the database is expecting 
    8081    // this must not be overwritten 
     
    8283    // return term info 
    8384    mgpp_src.setReturnTerms(true); 
    84     // set the default - this may be overwritten by query params 
    85     mgpp_src.setQueryLevel(this.default_level); 
    8685    mgpp_src.setMaxNumeric(this.maxnumeric); 
    87      
    8886    return true; 
    8987  } 
     
    9795  protected boolean setUpQueryer(HashMap params) { 
    9896     
     97    // set up the defaults that may be changed by query params 
     98    mgpp_src.setQueryLevel(this.default_level); 
     99    // we have case folding on by default 
     100    mgpp_src.setCase(true); 
     101 
    99102    // set up the query params 
    100103    Set entries = params.entrySet();