Changeset 1324 for trunk/gsdl/src/colservr/mgsearch.h
- Timestamp:
- 2000-08-02T12:58:29+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.h
r1285 r1324 1 1 /********************************************************************** 2 2 * 3 * mgsearch.h -- 3 * mgsearch.h -- implementation of search for old versions of mg 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * … … 29 29 30 30 31 #include "text_t.h" 32 #include "querycache.h" 31 #include "search.h" 33 32 34 #define RESULTCACHESIZE 10 35 #define MAXNUMDOCS 1000000 36 #define MAXNUMTERMS 100 37 38 class mgsearchclass { 33 class mgsearchclass : public searchclass { 39 34 public: 40 35 mgsearchclass (); 41 36 virtual ~mgsearchclass (); 42 43 // the index directory must be set before any searching44 // is done45 void setcollectdir (const text_t &thecollectdir);46 37 47 38 // you only need to use this function before doing any stemming … … 60 51 // the search results are returned in queryresults 61 52 // search returns 'true' if it was able to do a search 62 bool search(const queryparamclass &queryparams,53 bool search(const queryparamclass &queryparams, 63 54 queryresultsclass &queryresults); 64 55 … … 87 78 88 79 protected: 89 querycache *cache;90 text_t collectdir; // the collection directory91 80 92 81 void setsearchmode (const queryparamclass &queryparams);
Note:
See TracChangeset
for help on using the changeset viewer.