Ignore:
Timestamp:
2014-12-08T14:46:32+13:00 (9 years ago)
Author:
kjdon
Message:

work around does_paging, does_chunking. only add in maxdocs, hitsperpage params if the service actually uses them. lucnee/solr, don't use maxdocs any more. I haven't had a chance to clean up the changes, but I need to commit, so there may be extraneous debug statements still here.

File:
1 edited

Legend:

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

    r28966 r29558  
    5656    /** constructor */
    5757    public GS2MGSearch () {
     58        does_chunking = true;
    5859    if(this.mg_src == null){
    5960        this.mg_src = new MGSearchWrapper ();
     
    7071            return false;
    7172        }
    72        
    7373        this.mg_src.setMaxNumeric (this.maxnumeric);
     74    // internally mg uses 50, so set this here
     75    paramDefaults.put(MAXDOCS_PARAM, "50");
    7476        return true;
    7577    }
Note: See TracChangeset for help on using the changeset viewer.