Changeset 26352 for main

Show
Ignore:
Timestamp:
18.10.2012 15:36:19 (7 years ago)
Author:
kjdon
Message:

set up the queryer based on our colleciton defaults

Files:
1 modified

Legend:

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

    r26103 r26352  
    101101        mgpp_src.setQueryLevel(this.default_level); 
    102102        // we have case folding on by default 
    103         mgpp_src.setCase(true); 
     103        mgpp_src.setCase(case_default.equals(BOOLEAN_PARAM_ON) ? true : false); 
     104        mgpp_src.setStem(stem_default.equals(BOOLEAN_PARAM_ON) ? true : false); 
     105        mgpp_src.setAccentFold(accent_default.equals(BOOLEAN_PARAM_ON) ? true : false); 
    104106 
    105107        // set up the query params