Changeset 310 for trunk/gsdl/src
- Timestamp:
- 1999-06-30T10:05:02+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/comtypes.cpp
r272 r310 12 12 /* 13 13 $Log$ 14 Revision 1.10 1999/06/29 22:05:01 rjmcnab 15 Added a couple of fields to ResultDocInfo_t to handle a special 16 version of mg. 17 14 18 Revision 1.9 1999/06/16 02:01:22 sjboddie 15 19 Few changes to get getParents filter option to return metadata of parents … … 167 171 OID.clear (); 168 172 ranking = 0; 173 num_terms_matched = 0; 174 query_phrase_match = false; 169 175 docFreq.erase(docFreq.begin(), docFreq.end()); 170 176 metadata.erase(metadata.begin(), metadata.end()); … … 173 179 ResultDocInfo_t &ResultDocInfo_t::operator=(const ResultDocInfo_t &x) { 174 180 OID=x.OID; 175 ranking=x.ranking; 181 ranking=x.ranking; 182 num_terms_matched=x.num_terms_matched; 183 query_phrase_match = x.query_phrase_match; 176 184 docFreq=x.docFreq; 177 185 metadata=x.metadata; -
trunk/gsdl/src/recpt/comtypes.h
r272 r310 260 260 261 261 text_t OID; 262 int ranking; // 0 if not requested 262 int ranking; // 0 if not requested (real ranking*10000) 263 int num_terms_matched; // not available on all versions of mg 264 bool query_phrase_match; // not available on all versions of mg 265 263 266 vector<int> docFreq; // empty if not requested 264 267 MetadataInfo_tarray metadata; // empty if not requested … … 281 284 282 285 int numDocs; 283 bool isApprox; 286 bool isApprox; // some versions of mg might be more 'approximate' than others :-) 284 287 TermInfo_tarray termInfo; // empty if not requested 285 288 ResultDocInfo_tarray docInfo; // empty if not requested
Note:
See TracChangeset
for help on using the changeset viewer.