Changeset 13289


Ignore:
Timestamp:
2006-11-17T10:45:50+13:00 (17 years ago)
Author:
shaoqun
Message:

added its configure method to set maxnumeric to MGWrapper

File:
1 edited

Legend:

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

    r13270 r13289  
    5858    {
    5959    this.mg_src = new MGWrapper();
     60   
    6061    }
    6162    public void cleanUp() {
     
    6364    this.mg_src.unloadIndexData();
    6465    }
     66
     67    /** configure this service */
     68    public boolean configure(Element info, Element extra_info)
     69    {
     70    if (!super.configure(info, extra_info)){
     71        return false;
     72    }
     73
     74    this.mg_src.setMaxNumeric(this.maxnumeric);             
     75
     76           
     77    return true;
     78    }
     79   
    6580
    6681    protected void getIndexData(ArrayList index_ids, ArrayList index_names, String lang) {
Note: See TracChangeset for help on using the changeset viewer.