- Timestamp:
- 1999-12-13T15:24:34+13:00 (24 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/comtypes.cpp
r763 r823 28 28 /* 29 29 $Log$ 30 Revision 1.22 1999/12/13 02:24:33 davidb 31 Data fields for cross collection searching (CCS) 32 33 Support for multiple meta-data entries for same document/section. 34 30 35 Revision 1.21 1999/11/01 22:00:50 sjboddie 31 36 added assignment operator for FilterResponse_t … … 125 130 isPublic=false; 126 131 isBeta=false; 132 languages.erase(languages.begin(), languages.end()); 133 ccsCols.erase(ccsCols.begin(), ccsCols.end()); 127 134 buildDate=0; 128 135 numDocs=0; … … 130 137 numBytes=0; 131 138 format.erase(format.begin(), format.end()); 139 building.erase(format.begin(), format.end()); 132 140 receptionist.clear(); 133 141 } … … 289 297 docFreq.erase(docFreq.begin(), docFreq.end()); 290 298 metadata.erase(metadata.begin(), metadata.end()); 299 classifier_metadata_type.erase(classifier_metadata_type.begin(), 300 classifier_metadata_type.end()); 301 classifier_metadata_offset = 0; 302 291 303 } 292 304 -
trunk/gsdl/src/recpt/comtypes.h
r763 r823 72 72 // isBeta [3] IMPLICIT BOOLEAN, -- beta if still under development 73 73 // buildDate [4] IMPLICIT GeneralizedTime, 74 // languages [5] IMPLICIT StringSet, -- languages in the collection 75 // numDocs [6] IMPLICIT INTEGER, 76 // numWords [7] IMPLICIT INTEGER OPTIONAL, 77 // numBytes [8] IMPLICIT INTEGER OPTIONAL 78 // collectionmeta [9] IMPLICIT StringSet 79 // format [10] IMPLICIT StringSet 80 // building [11] IMPLICIT StringSet 81 // receptionist [12] IMPLICIT GeneralString 74 // ccsCols [5] IMPLICIT StringSet, -- collections that form cross-col search 75 // languages [6] IMPLICIT StringSet, -- languages in the collection 76 // numDocs [7] IMPLICIT INTEGER, 77 // numWords [8] IMPLICIT INTEGER OPTIONAL, 78 // numBytes [9] IMPLICIT INTEGER OPTIONAL 79 // collectionmeta [10] IMPLICIT StringSet 80 // format [11] IMPLICIT StringSet 81 // building [12] IMPLICIT StringSet 82 // receptionist [13] IMPLICIT GeneralString 82 83 // } 83 84 struct ColInfoResponse_t { … … 90 91 unsigned long buildDate; 91 92 text_tarray languages; 93 text_tarray ccsCols; // empty if collection does not use cross-collection searching 92 94 unsigned long numDocs; // 0 if not known 93 95 unsigned long numWords; // 0 if not known … … 284 286 // ranking [1] IMPLICIT INTEGER, -- 0 if not requested, range 0-10000 285 287 // docFreq [2] IMPLICIT SEQUENCE OF INTEGER, -- empty if not requested 286 // metadata [3] IMPLICIT SEQUENCE OF MetadataInfo -- no longer a SEQUENCE (SET maybe??) 288 // metadata [3] IMPLICIT SEQUENCE OF MetadataInfo, -- no longer a SEQUENCE (SET maybe??) 289 // classifier_metadata_type [4] IMPLICIT GeneralString, -- empty if not requested 290 // classifier_metadata_offset [5] IMPLICIT INTEGER, -- 0 if not requested 287 291 // } 288 292 struct ResultDocInfo_t { … … 296 300 int num_phrase_match; // not available on all versions of mg 297 301 298 vector<int> docFreq; // empty if not requested 299 MetadataInfo_tmap metadata; // empty if not requested 302 vector<int> docFreq; // empty if not requested 303 MetadataInfo_tmap metadata; // empty if not requested 304 305 text_t classifier_metadata_type; // empty if not requested 306 int classifier_metadata_offset; // 0 if not requested 300 307 301 308 ResultDocInfo_t &operator=(const ResultDocInfo_t &x);
Note:
See TracChangeset
for help on using the changeset viewer.