Changeset 14001
- Timestamp:
- 2007-04-02T12:33:11+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGSearch.java
r13911 r14001 73 73 74 74 this.mg_src.setMaxNumeric(this.maxnumeric); 75 76 75 77 76 return true; … … 111 110 } 112 111 112 // If a subcollection index has been specified, use it 113 String indexSub = (String) params.get(INDEX_SUBCOLLECTION_PARAM); 114 if (indexSub != null) { 115 index += indexSub; 116 } 117 else{ 118 if (!this.default_index_subcollection.equals("")){ 119 index += this.default_index_subcollection; 120 } 121 } 122 123 // If a subcollection index has been specified, use it 124 String indexLang = (String) params.get(INDEX_LANGUAGE_PARAM); 125 if (indexLang != null) { 126 index += indexLang; 127 } 128 else{ 129 if (!this.default_index_language.equals("")){ 130 index += this.default_index_language; 131 } 132 } 133 113 134 // The location of the MG index and text files 114 135 String basedir = GSFile.collectionBaseDir(this.site_home, this.cluster_name) + File.separatorChar; // Needed for MG
Note:
See TracChangeset
for help on using the changeset viewer.