Changeset 16180 for gsdl/trunk/src/protocol/recptprototools.cpp
- Timestamp:
- 2008-06-25T15:38:55+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/protocol/recptprototools.cpp
r16039 r16180 251 251 252 252 253 bool get_metadata_values (const text_t metadata_element _name, const text_t metadata_value_filter,253 bool get_metadata_values (const text_t metadata_elements, const text_t metadata_value_filter, 254 254 const text_t metadata_value_grouping_expression, const text_t &collection, 255 255 recptproto *collectproto, FilterResponse_t &response, ostream &logout) … … 265 265 266 266 OptionValue_t request_option; 267 request_option.name = "MetadataElement ";268 request_option.value = metadata_element _name;267 request_option.name = "MetadataElements"; 268 request_option.value = metadata_elements; 269 269 request.filterOptions.push_back (request_option); 270 270 request_option.name = "MetadataValueFilter"; … … 281 281 outconvertclass text_t2ascii; 282 282 logout << text_t2ascii 283 << "Error: call to filter failed for " << metadata_element _name283 << "Error: call to filter failed for " << metadata_elements 284 284 << " in recptprototools::get_metadata_values (" 285 285 << get_comerror_string (err) << ")\n"; … … 291 291 292 292 293 bool get_documents_with_metadata_value (const text_t metadata_element _name, const text_t metadata_value,293 bool get_documents_with_metadata_value (const text_t metadata_elements, const text_t metadata_value, 294 294 const text_t sort_by_metadata_element_name, const text_t &collection, 295 295 recptproto *collectproto, FilterResponse_t &response, ostream &logout) … … 305 305 306 306 OptionValue_t request_option; 307 request_option.name = "MetadataElement ";308 request_option.value = metadata_element _name;307 request_option.name = "MetadataElements"; 308 request_option.value = metadata_elements; 309 309 request.filterOptions.push_back (request_option); 310 310 request_option.name = "MetadataValue"; … … 321 321 outconvertclass text_t2ascii; 322 322 logout << text_t2ascii 323 << "Error: call to filter failed for " << metadata_element _name<< " = " << metadata_value323 << "Error: call to filter failed for " << metadata_elements << " = " << metadata_value 324 324 << " in recptprototools::get_documents_with_metadata_value (" 325 325 << get_comerror_string (err) << ")\n";
Note:
See TracChangeset
for help on using the changeset viewer.