Ignore:
Timestamp:
1999-07-01T21:29:21+12:00 (25 years ago)
Author:
rjmcnab
Message:

Changes for better reporting of number documents which match a query. Changes
should still work as before with older versions of mg.

File:
1 edited

Legend:

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

    r326 r334  
    107107  queryresultsclass () {clear();}
    108108
    109   bool docs_matched_set;
    110109  int docs_matched; // not available on all versions of mg
    111110  bool is_approx;   // not available on all versions of mg
     
    121120  queryresultsclass &operator=(const queryresultsclass &q);
    122121 
    123   int getnumdocs () {
    124     if (docs_matched_set) return docs_matched;
    125     else return docs.size();
    126   }
    127   int getnumterms () {return terms.size();}
    128  
    129122  void sortuniqqueryterms();
    130123};
Note: See TracChangeset for help on using the changeset viewer.