- Timestamp:
- 2012-07-31T11:47:04+12:00 (12 years ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2TextSearch.java
r25851 r26042 23 23 import org.apache.log4j.Logger; 24 24 import org.greenstone.gsdl3.util.GSXML; 25 import org.greenstone.gsdl3.util. SimpleDocumentDatabase;25 import org.greenstone.gsdl3.util.BasicDocumentDatabase; 26 26 import org.w3c.dom.Document; 27 27 import org.w3c.dom.Element; … … 60 60 protected int maxnumeric = 4; 61 61 62 SimpleDocumentDatabase gs_doc_db = null;62 BasicDocumentDatabase gs_doc_db = null; 63 63 64 64 static Logger logger = Logger.getLogger(org.greenstone.gsdl3.service.AbstractGS2TextSearch.class.getName()); … … 109 109 110 110 // replaces default AbstractSearch version with one tied to database 111 gs_doc_db = new SimpleDocumentDatabase(this.doc, database_type, this.site_home, this.cluster_name, this.index_stem);111 gs_doc_db = new BasicDocumentDatabase(this.doc, database_type, this.site_home, this.cluster_name, this.index_stem); 112 112 if (!gs_doc_db.isValid()) 113 113 { -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractSearch.java
r25885 r26042 23 23 24 24 import org.apache.log4j.Logger; 25 import org.greenstone.gsdl3.util.AbstractSimpleDocument; 25 import org.greenstone.gsdl3.util.AbstractBasicDocument; 26 import org.greenstone.gsdl3.util.BasicDocument; 26 27 import org.greenstone.gsdl3.util.GSPath; 27 28 import org.greenstone.gsdl3.util.GSXML; 28 import org.greenstone.gsdl3.util.SimpleDocument;29 29 import org.w3c.dom.Element; 30 30 import org.w3c.dom.NodeList; … … 33 33 * Partially implements a generic search service 34 34 * 35 * @author Katherine Don36 35 */ 37 36 … … 54 53 protected static final String START_PAGE_PARAM = "startPage"; 55 54 56 protected Abstract SimpleDocument gs_doc = null;55 protected AbstractBasicDocument gs_doc = null; 57 56 58 57 /** can more than one index be searched at the same time? */ … … 165 164 166 165 // Base line for document (might be overriden by sub-classes) 167 gs_doc = new SimpleDocument(this.doc, this.default_document_type);166 gs_doc = new BasicDocument(this.doc, this.default_document_type); 168 167 169 168 return true;
Note:
See TracChangeset
for help on using the changeset viewer.