Ignore:
Timestamp:
1999-07-01T15:56:17+12:00 (25 years ago)
Author:
rjmcnab
Message:

Added a set of utf8 encoded equivalent terms of a query term. I also
added a flag for handling post-processing of the query.

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

Legend:

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

    r319 r326  
    1212/*
    1313   $Log$
     14   Revision 1.5  1999/07/01 03:56:17  rjmcnab
     15   Added a set of utf8 encoded equivalent terms of a query term. I also
     16   added a flag for handling post-processing of the query.
     17
    1418   Revision 1.4  1999/06/30 04:04:13  rjmcnab
    1519   made stemming functions available from mgsearch and made the stems
     
    9397  termstr = t.termstr;
    9498  termstemstr = t.termstemstr;
     99  utf8equivterms = t.utf8equivterms;
    95100  termfreq = t.termfreq;
    96101
     
    156161  docs_matched = 0;
    157162  is_approx = false;
    158  
     163
     164  postprocessed = false;
     165
    159166  docs.erase(docs.begin(),docs.end());
    160167  orgterms.erase(orgterms.begin(),orgterms.end());
     
    162169}
    163170
    164 queryresultsclass &queryresultsclass::operator=(const queryresultsclass &q)
    165 {
     171queryresultsclass &queryresultsclass::operator=(const queryresultsclass &q) {
    166172  docs_matched_set = q.docs_matched_set;
    167173  docs_matched = q.docs_matched;
    168174  is_approx = q.is_approx;
     175
     176  postprocessed = q.postprocessed;
    169177 
    170178  docs = q.docs;
  • trunk/gsdl/src/colservr/queryinfo.h

    r319 r326  
    6464  text_t termstr;
    6565  text_t termstemstr;
     66  text_tset utf8equivterms; // kept as utf8 string for fast matching
    6667  unsigned int termfreq;
    6768 
     
    9192  int docnum;
    9293  float docweight;
    93   int num_query_terms_matched;  // not available on all versions of mg
    94   bool query_phrase_match;      // not available on all versions of mg
     94  unsigned int num_query_terms_matched;  // not available on all versions of mg
     95  bool query_phrase_match;               // not available on all versions of mg
    9596};
    9697
     
    109110  int docs_matched; // not available on all versions of mg
    110111  bool is_approx;   // not available on all versions of mg
     112
     113  bool postprocessed; // whether this record has been post-processed
    111114 
    112115  vector<docresultclass> docs;
Note: See TracChangeset for help on using the changeset viewer.