X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLTreeBuilder.h;h=c7a9036f384b35d26d5a1ec709ff6d6505170d07;hb=8b92ac7e539c796ee3160078b5ca30537f26ea51;hp=055eedafa47a2a12b54f5e075b4ab57a98852b34;hpb=44c3b5aabb8782b15e66d7d14ab19b280d7eb20f;p=SXSI%2FXMLTree.git diff --git a/XMLTreeBuilder.h b/XMLTreeBuilder.h index 055eeda..c7a9036 100644 --- a/XMLTreeBuilder.h +++ b/XMLTreeBuilder.h @@ -67,7 +67,7 @@ class XMLTreeBuilder { int eta_size; // Allows to disable the TextCollection for benchmarkin purposes bool disable_tc; - + TextCollectionBuilder::index_type_t text_index_type; public: XMLTreeBuilder() {;}; @@ -82,7 +82,8 @@ public: * (i.e. everything is considered an empty text *) * Returns a non-zero value upon success, NULLT in case of * error. */ - int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc); + int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc, + TextCollectionBuilder::index_type_t index_type); /** CloseDocument(): finishes the construction of the data structure for * the XML document. Tree and tags are represented in the final form,