Changeset 183
- Timestamp:
- 1999-03-04T09:26:50+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/comproto.asn
r179 r183 57 57 58 58 -- Authority 59 authListRequest [12] IMPLICIT AuthListRequest,60 authListResponse [13] IMPLICIT AuthListResponse,61 editAuthListRequest [14] IMPLICIT EditAuthListRequest,62 editAuthListResponse [15] IMPLICIT EditAuthListResponse,59 -- authListRequest [12] IMPLICIT AuthListRequest, 60 -- authListResponse [13] IMPLICIT AuthListResponse, 61 -- editAuthListRequest [14] IMPLICIT EditAuthListRequest, 62 -- editAuthListResponse [15] IMPLICIT EditAuthListResponse, 63 63 64 64 -- an authority mirror is a mirror of THIS authority 65 authMirListRequest [16] IMPLICIT AuthMirListRequest,66 authMirListResponse [17] IMPLICIT AuthMirListResponse,67 editAuthMirListRequest [18] IMPLICIT EditAuthMirListRequest,68 editAuthMirListResponse [19] IMPLICIT EditAuthMirListResponse,65 -- authMirListRequest [16] IMPLICIT AuthMirListRequest, 66 -- authMirListResponse [17] IMPLICIT AuthMirListResponse, 67 -- editAuthMirListRequest [18] IMPLICIT EditAuthMirListRequest, 68 -- editAuthMirListResponse [19] IMPLICIT EditAuthMirListResponse, 69 69 70 70 colListRequest [20] IMPLICIT ColListRequest, 71 71 colListResponse [21] IMPLICIT ColListResponse, 72 editColListRequest [22] IMPLICIT EditColListRequest,73 editColListResponse [23] IMPLICIT EditColListResponse,74 75 colMirListRequest [24] IMPLICIT ColMirListRequest,76 colMirListResponse [25] IMPLICIT ColMirListResponse,77 editColMirListRequest [26] IMPLICIT EditColMirListRequest,78 editColMirListResponse [27] IMPLICIT EditColMirListResponse,72 -- editColListRequest [22] IMPLICIT EditColListRequest, 73 -- editColListResponse [23] IMPLICIT EditColListResponse, 74 75 -- colMirListRequest [24] IMPLICIT ColMirListRequest, 76 -- colMirListResponse [25] IMPLICIT ColMirListResponse, 77 -- editColMirListRequest [26] IMPLICIT EditColMirListRequest, 78 -- editColMirListResponse [27] IMPLICIT EditColMirListResponse, 79 79 80 80 -- Collection … … 132 132 -- for simplicity. 133 133 134 AuthListRequest ::= SEQUENCE {135 }136 137 AuthListResponse ::= SEQUENCE {138 authList [1] IMPLICIT StringSet139 }140 141 142 EditAuthListRequest ::= SEQUENCE {143 editAction EditAction,144 authority GeneralString145 }146 147 EditAuthListResponse ::= SEQUENCE {148 }149 150 151 AuthMirListRequest ::= SEQUENCE {152 limitNumber [1] IMPLICIT INTEGER OPTIONAL,153 limitDomain [2] IMPLICIT GeneralString OPTIONAL154 }155 156 AuthMirListResponse ::= SEQUENCE {157 authMirList [1] IMPLICIT HostPortSet158 }159 160 161 EditAuthMirListRequest ::= SEQUENCE {162 editAction EditAction,163 authMir HostPort164 }165 166 EditAuthMirListResponse ::= SEQUENCE {167 }134 -- AuthListRequest ::= SEQUENCE { 135 -- } 136 137 -- AuthListResponse ::= SEQUENCE { 138 -- authList [1] IMPLICIT StringSet 139 -- } 140 141 142 -- EditAuthListRequest ::= SEQUENCE { 143 -- editAction EditAction, 144 -- authority GeneralString 145 -- } 146 147 -- EditAuthListResponse ::= SEQUENCE { 148 -- } 149 150 151 -- AuthMirListRequest ::= SEQUENCE { 152 -- limitNumber [1] IMPLICIT INTEGER OPTIONAL, 153 -- limitDomain [2] IMPLICIT GeneralString OPTIONAL 154 -- } 155 156 -- AuthMirListResponse ::= SEQUENCE { 157 -- authMirList [1] IMPLICIT HostPortSet 158 -- } 159 160 161 -- EditAuthMirListRequest ::= SEQUENCE { 162 -- editAction EditAction, 163 -- authMir HostPort 164 -- } 165 166 -- EditAuthMirListResponse ::= SEQUENCE { 167 -- } 168 168 169 169 … … 176 176 177 177 178 EditColListRequest ::= SEQUENCE {179 editAction EditAction,180 colInfo ShortColInfo181 }182 183 EditColListResponse ::= SEQUENCE {184 }185 186 187 ColMirListRequest ::= SEQUENCE {188 limitNumber [1] IMPLICIT INTEGER OPTIONAL,189 limitDomain [2] IMPLICIT GeneralString OPTIONAL190 }191 192 ColMirListResponse ::= SEQUENCE {193 colMirList [1] IMPLICIT ShortColInfoSet194 }195 196 197 EditColMirListRequest ::= SEQUENCE {198 editAction EditAction,199 colMirInfo ShortColInfo200 }201 202 EditColMirListResponse ::= SEQUENCE {203 }178 -- EditColListRequest ::= SEQUENCE { 179 -- editAction EditAction, 180 -- colInfo ShortColInfo 181 -- } 182 183 -- EditColListResponse ::= SEQUENCE { 184 -- } 185 186 187 -- ColMirListRequest ::= SEQUENCE { 188 -- limitNumber [1] IMPLICIT INTEGER OPTIONAL, 189 -- limitDomain [2] IMPLICIT GeneralString OPTIONAL 190 -- } 191 192 -- ColMirListResponse ::= SEQUENCE { 193 -- colMirList [1] IMPLICIT ShortColInfoSet 194 -- } 195 196 197 -- EditColMirListRequest ::= SEQUENCE { 198 -- editAction EditAction, 199 -- colMirInfo ShortColInfo 200 -- } 201 202 -- EditColMirListResponse ::= SEQUENCE { 203 -- } 204 204 205 205 … … 216 216 ColInfoResponse ::= SEQUENCE { 217 217 shortInfo [0] IMPLICIT ShortCollectionInfo, 218 -- I've taken out fullName and put it in the interface documents 219 public [2] IMPLICIT BOOLEAN, -- whether has anonymous access 220 beta [3] IMPLICIT BOOLEAN, -- beta if still under development 218 isPublic [2] IMPLICIT BOOLEAN, -- whether has anonymous access 219 isBeta [3] IMPLICIT BOOLEAN, -- beta if still under development 221 220 builddate [4] IMPLICIT GeneralizedTime, 222 221 languages [5] IMPLICIT StringSet, -- languages in the collection … … 298 297 299 298 300 -- filter options which might be supported for t ext collections299 -- filter options which might be supported for the query filter 301 300 -- 302 -- QueryType enumerated 303 -- Index enumerated 304 -- Casefold boolean 305 -- Stem boolean 306 -- StartResults integer 307 -- EndResults integer 308 -- Subcollection enumerated 309 -- Query string ??? 310 -- Ranking enumerated 311 -- 312 -- filter options which might be supported for music collections 313 -- MatchAlgorithm 314 -- PitchMode 315 -- UseRhythm 316 -- RestMode 317 -- MatchMode 318 -- MaxDist 319 -- Count 301 -- onePerQuery StartResults integer 302 -- onePerQuery EndResults integer 303 -- onePerQuery InverseOrder boolean 304 -- onePerQuery Ordering enumerated (rank, or metadata field) 305 -- onePerTerm Term string ??? 306 -- onePerTerm MimeType enumerated 307 -- onePerTerm Language enumerated 308 -- onePerTerm MatchOption enumerated (must match, can match, mustn't match) 309 -- onePerTerm Casefold boolean 310 -- onePerTerm Stem boolean 311 -- onePerTerm Index enumerated 312 -- onePerTerm Subcollection enumerated 320 313 321 314 InfoFilterOptionsRequest ::= SEQUENCE { … … 323 316 324 317 InfoFilterOptionsResponse ::= SEQUENCE { 325 mimeTypes StringSequence, 326 filterOptions SET OF FilterOption, 318 filterOptions SET OF FilterDescript 319 } 320 321 FilterDescript ::= SEQUENCE { 322 filterName GeneralString, 323 filterOptions SET OF FilterOption 327 324 } 328 325 … … 330 327 name GeneralString, 331 328 type ENUMERATED {boolean(0), integer(1), enumerated(2), string(3)}, 329 repeatable ENUMERATED {onePerQuery(0), onePerTerm(1), nPerTerm(2)}, 332 330 default GeneralString, 331 -- the interpretation of the validValues depends on the type 332 -- for boolean: the first value is the false value, the second is true value 333 -- for integer: the first value is the minimum, the second the maximum 334 -- for enumerated: all values a listed 335 -- for string: this value is ignored 333 336 validValues StringSequence 334 337 } … … 342 345 343 346 FilterRequest ::= SEQUENCE { 344 filterOptions [0] IMPLICIT SEQUENCE OF OptionValue, 345 docSet [1] IMPLICIT SEQUENCE OF GeneralString OPTIONAL, 346 filterResultOptions [2] BIT STRING {termFreq(0), matchTerms(1), docID(2), subCol(3), 347 filterName [0] GeneralString, 348 filterOptions [1] IMPLICIT SEQUENCE OF OptionValue, 349 docSet [2] IMPLICIT StringSequence OPTIONAL, 350 filterResultOptions [3] BIT STRING {termFreq(0), matchTerms(1), docID(2), subCol(3), 347 351 ranking(4), docFreq(5)} 348 352 } -
trunk/gsdl/src/recpt/queryaction.cpp
r174 r183 12 12 /* 13 13 $Log$ 14 Revision 1.2 1999/03/03 20:26:50 rjmcnab 15 16 Modified stuff. 17 14 18 Revision 1.1 1999/02/28 22:45:21 rjmcnab 15 19 … … 30 34 arg_ainfo.defaultstatus = cgiarginfo::weak; 31 35 arg_ainfo.argdefault = "q"; 32 arg_ainfo.savedarginfo = cgiarginfo::must;33 argsinfo.addarginfo (NULL, arg_ainfo);34 35 // "i"36 arg_ainfo.shortname = "i";37 arg_ainfo.longname = "index";38 arg_ainfo.multiplechar = true;39 arg_ainfo.defaultstatus = cgiarginfo::weak;40 arg_ainfo.argdefault = "";41 36 arg_ainfo.savedarginfo = cgiarginfo::must; 42 37 argsinfo.addarginfo (NULL, arg_ainfo); … … 142 137 143 138 bool queryaction::check_cgiargs (cgiargsclass &/*args*/, ostream &/*logout*/) { 144 // extract h, j, and n arguments, use if not already defined145 146 // combine to form i argument147 148 139 // check t argument 149 140
Note:
See TracChangeset
for help on using the changeset viewer.