Changeset 8024


Ignore:
Timestamp:
2004-08-23T23:08:30+12:00 (20 years ago)
Author:
davidb
Message:

Renaming of variables and member functions using contstructs such as
'mgsearchptr' and the like to 'textsearchptr' to better reflect what
the item represents.

Location:
trunk/gsdl/src/colservr
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgppsearch.h

    r4822 r8024  
    3838  virtual ~mgppsearchclass ();
    3939
    40   virtual text_t get_mg_type() {return "mgpp";}
     40  virtual text_t get_textindex_type() {return "mgpp";}
    4141
    4242  // the search results are returned in queryresults
  • trunk/gsdl/src/colservr/mgsearch.h

    r2679 r8024  
    3636  virtual ~mgsearchclass ();
    3737
    38   virtual text_t get_mg_type() {return "mg";}
     38  virtual text_t get_textindex_type() {return "mg";}
    3939
    4040  // you only need to use this function before doing any stemming
  • trunk/gsdl/src/colservr/queryfilter.cpp

    r4824 r8024  
    165165queryfilterclass::queryfilterclass () {
    166166  gdbmptr = NULL;
    167   mgsearchptr = NULL;
     167  textsearchptr = NULL;
    168168
    169169  FilterOption_t filtopt;
  • trunk/gsdl/src/colservr/queryfilter.h

    r1324 r8024  
    22 *
    33 * queryfilter.h -- abstract base class for queryfilters
    4  *          mgqueryfilter and mgppqueryfilter implement this
     4 *          mgqueryfilter, mgppqueryfilter and lucenequeryfilter
     5 *          implement this
    56 * Copyright (C) 1999  The New Zealand Digital Library Project
    67 *
     
    5051  gdbmclass *gdbmptr;
    5152 
    52   searchclass *mgsearchptr;
     53  searchclass *textsearchptr;
    5354 
    5455   // get the query parameters
     
    5960
    6061  // do query that might involve multiple sub queries
    61   // mgsearchptr and gdbmptr are assumed to be valid
     62  // textsearchptr and gdbmptr are assumed to be valid
    6263  virtual void do_multi_query (const FilterRequest_t &request,
    6364               const vector<queryparamclass> &query_params,
     
    7273  void set_gdbmptr (gdbmclass *thegdbmptr) {gdbmptr=thegdbmptr;}
    7374
    74   // the mgsearchptr remains the responsability of the calling code
    75   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;}
    7677
    7778  virtual void configure (const text_t &key, const text_tarray &cfgline);
  • trunk/gsdl/src/colservr/search.h

    r2679 r8024  
    4141
    4242  // 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;
    4444  // the index directory must be set before any searching
    4545  // is done
Note: See TracChangeset for help on using the changeset viewer.