- Timestamp:
- 2005-05-16T11:02:50+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractMGSearch.java
r9280 r9874 77 77 } 78 78 79 public void cleanUp() { 80 super.cleanUp(); 81 this.mg_src.unloadIndexData(); 82 } 79 83 public boolean configure(Element info, Element extra_info) 80 84 { … … 201 205 this.mg_src.runQuery(basedir, textdir, query); 202 206 MGQueryResult mqr = this.mg_src.getQueryResult(); 207 if (mqr.isClear()) { 208 // something has gone wrong 209 GSXML.addError(this.doc, result, "Couldn't query the mg database", GSXML.ERROR_TYPE_SYSTEM); 210 return result; 211 } 203 212 long totalDocs = mqr.getTotalDocs(); 204 213
Note:
See TracChangeset
for help on using the changeset viewer.