Ignore:
Timestamp:
1999-12-13T15:24:34+13:00 (25 years ago)
Author:
davidb
Message:

Data fields for cross collection searching (CCS)

Support for multiple meta-data entries for same document/section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/comtypes.h

    r763 r823  
    7272//   isBeta         [3]  IMPLICIT BOOLEAN,    -- beta if still under development
    7373//   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
    8283// }
    8384struct ColInfoResponse_t {
     
    9091  unsigned long buildDate;
    9192  text_tarray languages;
     93  text_tarray ccsCols;    // empty if collection does not use cross-collection searching
    9294  unsigned long numDocs;  // 0 if not known
    9395  unsigned long numWords; // 0 if not known
     
    284286//   ranking  [1] IMPLICIT INTEGER,             -- 0 if not requested, range 0-10000
    285287//   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
    287291// }
    288292struct ResultDocInfo_t {
     
    296300  int num_phrase_match;    // not available on all versions of mg
    297301
    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
    300307
    301308  ResultDocInfo_t &operator=(const ResultDocInfo_t &x);
Note: See TracChangeset for help on using the changeset viewer.