Changeset 326 for trunk/gsdl/src/colservr
- Timestamp:
- 1999-07-01T15:56:17+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/colservr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/queryinfo.cpp
r319 r326 12 12 /* 13 13 $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 14 18 Revision 1.4 1999/06/30 04:04:13 rjmcnab 15 19 made stemming functions available from mgsearch and made the stems … … 93 97 termstr = t.termstr; 94 98 termstemstr = t.termstemstr; 99 utf8equivterms = t.utf8equivterms; 95 100 termfreq = t.termfreq; 96 101 … … 156 161 docs_matched = 0; 157 162 is_approx = false; 158 163 164 postprocessed = false; 165 159 166 docs.erase(docs.begin(),docs.end()); 160 167 orgterms.erase(orgterms.begin(),orgterms.end()); … … 162 169 } 163 170 164 queryresultsclass &queryresultsclass::operator=(const queryresultsclass &q) 165 { 171 queryresultsclass &queryresultsclass::operator=(const queryresultsclass &q) { 166 172 docs_matched_set = q.docs_matched_set; 167 173 docs_matched = q.docs_matched; 168 174 is_approx = q.is_approx; 175 176 postprocessed = q.postprocessed; 169 177 170 178 docs = q.docs; -
trunk/gsdl/src/colservr/queryinfo.h
r319 r326 64 64 text_t termstr; 65 65 text_t termstemstr; 66 text_tset utf8equivterms; // kept as utf8 string for fast matching 66 67 unsigned int termfreq; 67 68 … … 91 92 int docnum; 92 93 float docweight; 93 int num_query_terms_matched; // not available on all versions of mg94 bool query_phrase_match; // not available on all versions of mg94 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 95 96 }; 96 97 … … 109 110 int docs_matched; // not available on all versions of mg 110 111 bool is_approx; // not available on all versions of mg 112 113 bool postprocessed; // whether this record has been post-processed 111 114 112 115 vector<docresultclass> docs;
Note:
See TracChangeset
for help on using the changeset viewer.