Changeset 13000


Ignore:
Timestamp:
2006-10-04T17:28:17+13:00 (18 years ago)
Author:
mdewsnip
Message:

Now displays the "cached" attribute of a Lucene ResultSet, for debugging.

File:
1 edited

Legend:

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

    r12685 r13000  
    4242
    4343  text_t element_name = (char*)name;
     44
     45  if (element_name == "ResultSet") {
     46    char* cached_attribute_str = get_attribute(attributes, "cached");
     47    if (cached_attribute_str != NULL) {
     48      cerr << "Cached: " << cached_attribute_str << endl;
     49    }
     50  }
    4451
    4552  if (element_name == "Error") {
Note: See TracChangeset for help on using the changeset viewer.