Changeset 20730
- Timestamp:
- 2009-09-28T16:10:57+13:00 (15 years ago)
- Location:
- gsdl/trunk/runtime-src/src/colservr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/src/colservr/expat_document.cpp
r12427 r20730 35 35 text_t element_name = (char*)name; 36 36 if (element_name == *(rpack_ptr->section_level)) { 37 text_t id_att = (char *)get_attribute(attributes,"gs2: id");37 text_t id_att = (char *)get_attribute(attributes,"gs2:docOID"); 38 38 if (id_att == *(rpack_ptr->section_num)) { 39 39 rpack_ptr->store_text = true; -
gsdl/trunk/runtime-src/src/colservr/lucenesource.cpp
r15594 r20730 74 74 return false; // true?? 75 75 } 76 int docnum = info["docnum"].getint();77 76 78 77 // get the parent id … … 90 89 doc.clear(); 91 90 db_ptr->closedatabase(); // Important that local library doesn't leave any files open 92 expat_document(full_path_to_doc, ((lucenesearchclass*)textsearchptr)->textlevel, t ext_t(docnum), doc);91 expat_document(full_path_to_doc, ((lucenesearchclass*)textsearchptr)->textlevel, tOID, doc); 93 92 return true; 94 93 }
Note:
See TracChangeset
for help on using the changeset viewer.