Changeset 24892


Ignore:
Timestamp:
12/13/11 10:04:34 (9 years ago)
Author:
sjm84
Message:

More raw query changes

File:
1 edited

Legend:

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

    r24858 r24892  
    5353    protected static final String INDEX_PARAM = "index";
    5454    protected static final String QUERY_PARAM = "query";
     55    protected static final String RAW_PARAM = "rawquery";
    5556
    5657    // optional standard params - some of these have to be implemented
     
    278279        String param_default = default_value;
    279280
    280         if (name.equals(QUERY_PARAM))
    281         {
    282             param = GSXML.createParameterDescription(this.doc, QUERY_PARAM, getTextString("param." + QUERY_PARAM, lang), GSXML.PARAM_TYPE_STRING, param_default, null, null);
     281        if (name.equals(QUERY_PARAM) || name.equals(RAW_PARAM))
     282        {
     283            param = GSXML.createParameterDescription(this.doc, name, getTextString("param." + name, lang), GSXML.PARAM_TYPE_STRING, param_default, null, null);
    283284            param_list.appendChild(param);
    284285            return true;
     
    286287        else if (name.equals(INDEX_PARAM))
    287288        {
    288 
    289289            // should we make these class fields?
    290290            ArrayList index_ids = new ArrayList();
Note: See TracChangeset for help on using the changeset viewer.