Changeset 8024
- Timestamp:
- 2004-08-23T23:08:30+12:00 (20 years ago)
- Location:
- trunk/gsdl/src/colservr
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgppsearch.h
r4822 r8024 38 38 virtual ~mgppsearchclass (); 39 39 40 virtual text_t get_ mg_type() {return "mgpp";}40 virtual text_t get_textindex_type() {return "mgpp";} 41 41 42 42 // the search results are returned in queryresults -
trunk/gsdl/src/colservr/mgsearch.h
r2679 r8024 36 36 virtual ~mgsearchclass (); 37 37 38 virtual text_t get_ mg_type() {return "mg";}38 virtual text_t get_textindex_type() {return "mg";} 39 39 40 40 // you only need to use this function before doing any stemming -
trunk/gsdl/src/colservr/queryfilter.cpp
r4824 r8024 165 165 queryfilterclass::queryfilterclass () { 166 166 gdbmptr = NULL; 167 mgsearchptr = NULL;167 textsearchptr = NULL; 168 168 169 169 FilterOption_t filtopt; -
trunk/gsdl/src/colservr/queryfilter.h
r1324 r8024 2 2 * 3 3 * queryfilter.h -- abstract base class for queryfilters 4 * mgqueryfilter and mgppqueryfilter implement this 4 * mgqueryfilter, mgppqueryfilter and lucenequeryfilter 5 * implement this 5 6 * Copyright (C) 1999 The New Zealand Digital Library Project 6 7 * … … 50 51 gdbmclass *gdbmptr; 51 52 52 searchclass * mgsearchptr;53 searchclass *textsearchptr; 53 54 54 55 // get the query parameters … … 59 60 60 61 // do query that might involve multiple sub queries 61 // mgsearchptr and gdbmptr are assumed to be valid62 // textsearchptr and gdbmptr are assumed to be valid 62 63 virtual void do_multi_query (const FilterRequest_t &request, 63 64 const vector<queryparamclass> &query_params, … … 72 73 void set_gdbmptr (gdbmclass *thegdbmptr) {gdbmptr=thegdbmptr;} 73 74 74 // the mgsearchptr remains the responsability of the calling code75 void set_ mgsearchptr (searchclass *themgsearchptr) {mgsearchptr=themgsearchptr;}75 // the testsearchptr remains the responsability of the calling code 76 void set_textsearchptr (searchclass *thetextsearchptr) {textsearchptr=thetextsearchptr;} 76 77 77 78 virtual void configure (const text_t &key, const text_tarray &cfgline); -
trunk/gsdl/src/colservr/search.h
r2679 r8024 41 41 42 42 // in subclass, should be over-rided to return "mg" or "mgpp" 43 virtual text_t get_ mg_type()=0;43 virtual text_t get_textindex_type()=0; 44 44 // the index directory must be set before any searching 45 45 // is done
Note:
See TracChangeset
for help on using the changeset viewer.