Changeset 1253


Ignore:
Timestamp:
2000-06-29T12:22:59+12:00 (24 years ago)
Author:
sjboddie
Message:

added new numsections field to collection info and made the statusaction
recognize it

Location:
trunk/gsdl/src
Files:
4 edited

Legend:

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

    r830 r1253  
    2929/*
    3030   $Log$
     31   Revision 1.21  2000/06/29 00:22:58  sjboddie
     32   added new numsections field to collection info and made the statusaction
     33   recognize it
     34
    3135   Revision 1.20  1999/12/13 02:56:22  davidb
    3236   Support for cross-collection searching (CCS)
     
    136140    else if (key == "languages") collectinfo.languages = cfgline;
    137141    else if (key == "numdocs") collectinfo.numDocs = value.getint();
     142    else if (key == "numsections") collectinfo.numSections = value.getint();
    138143    else if (key == "numwords") collectinfo.numWords = value.getint();
    139144    else if (key == "numbytes") collectinfo.numBytes = value.getint();
  • trunk/gsdl/src/recpt/comtypes.cpp

    r823 r1253  
    2828/*
    2929   $Log$
     30   Revision 1.23  2000/06/29 00:22:58  sjboddie
     31   added new numsections field to collection info and made the statusaction
     32   recognize it
     33
    3034   Revision 1.22  1999/12/13 02:24:33  davidb
    3135   Data fields for cross collection searching (CCS)
     
    134138  buildDate=0;
    135139  numDocs=0;
     140  numSections=0;
    136141  numWords=0;
    137142  numBytes=0;
  • trunk/gsdl/src/recpt/comtypes.h

    r871 r1253  
    7575//   languages      [6]  IMPLICIT StringSet,  -- languages in the collection
    7676//   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
     77//   numSections    [8]  IMPLICIT INTEGER OPTIONAL,
     78//   numWords       [9]  IMPLICIT INTEGER OPTIONAL,
     79//   numBytes       [10] IMPLICIT INTEGER OPTIONAL
     80//   collectionmeta [11] IMPLICIT StringSet
     81//   format         [12] IMPLICIT StringSet
     82//   building       [13] IMPLICIT StringSet
     83//   receptionist   [14] IMPLICIT GeneralString
    8384// }
    8485struct ColInfoResponse_t {
     
    9293  text_tarray ccsCols;    // empty if collection does not use cross-collection searching
    9394  text_tarray languages;
    94   unsigned long numDocs;  // 0 if not known
    95   unsigned long numWords; // 0 if not known
    96   unsigned long numBytes; // 0 if not known
     95  unsigned long numDocs;     // 0 if not known
     96  unsigned long numSections; // 0 if not known
     97  unsigned long numWords;    // 0 if not known
     98  unsigned long numBytes;    // 0 if not known
    9799  text_tmap collectionmeta;
    98100  text_tmap format;
  • trunk/gsdl/src/recpt/statusaction.cpp

    r1170 r1253  
    2828/*
    2929   $Log$
     30   Revision 1.28  2000/06/29 00:22:59  sjboddie
     31   added new numsections field to collection info and made the statusaction
     32   recognize it
     33
    3034   Revision 1.27  2000/05/12 03:09:24  sjboddie
    3135   minor modifications to get web library compiling under VC++ 6.0
     
    667671          << "<tr><th>number of documents</th><td>\""
    668672          << collectinfo.numDocs
     673          << "\"</td></tr>\n"
     674
     675          << "<tr><th>number of sections</th><td>\""
     676          << collectinfo.numSections
    669677          << "\"</td></tr>\n"
    670678
Note: See TracChangeset for help on using the changeset viewer.