Changeset 9270 for trunk/gsdl3
- Timestamp:
- 2005-03-03T17:16:59+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractSearch.java
r9266 r9270 62 62 protected static final String MATCH_PARAM_SOME = "some"; 63 63 64 64 /** can more than one index be searched at the smae time? */ 65 protected boolean does_multi_index_search = false; 66 /** does this service support paging of results? */ 65 67 protected boolean does_paging = false; 66 protected boolean does_chunking = true; 68 /** does this service support asking for a subset of results? */ 69 protected boolean does_chunking = false; 70 /** the default document type - use if all documents are the same type 71 */ 67 72 protected String default_document_type = null; 68 73 … … 191 196 ArrayList index_names = new ArrayList(); 192 197 getIndexData(index_ids, index_names, lang); 193 param = GSXML.createParameterDescription2(this.doc, INDEX_PARAM, getTextString("param."+INDEX_PARAM, lang, "AbstractSearch"), GSXML.PARAM_TYPE_ENUM_SINGLE, /*this.default_index*/"", index_ids, index_names); 198 String param_type = GSXML.PARAM_TYPE_ENUM_SINGLE; 199 if (does_multi_index_search) { 200 param_type = GSXML.PARAM_TYPE_ENUM_MULTI; 201 } 202 param = GSXML.createParameterDescription2(this.doc, INDEX_PARAM, getTextString("param."+INDEX_PARAM, lang, "AbstractSearch"), param_type, /*this.default_index*/"", index_ids, index_names); 194 203 param_list.appendChild(param); 195 204 } else if (name.equals(MAXDOCS_PARAM)) {
Note:
See TracChangeset
for help on using the changeset viewer.