* (i.e. everything is considered an empty text *)\r
* Returns a non-zero value upon success, NULLT in case of \r
* error. */\r
* (i.e. everything is considered an empty text *)\r
* Returns a non-zero value upon success, NULLT in case of \r
* error. */\r
- int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc);\r
+ int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc,\r
+ TextCollectionBuilder::index_type_t index_type);\r
\r
/** CloseDocument(): finishes the construction of the data structure for \r
* the XML document. Tree and tags are represented in the final form, \r
\r
/** CloseDocument(): finishes the construction of the data structure for \r
* the XML document. Tree and tags are represented in the final form, \r
/** NewOpenTag(tagname): indicates the event of finding a new opening tag \r
* in the document. Tag name is given. Returns a non-zero value upon \r
* success, and returns NULLT in case of error. */\r
/** NewOpenTag(tagname): indicates the event of finding a new opening tag \r
* in the document. Tag name is given. Returns a non-zero value upon \r
* success, and returns NULLT in case of error. */\r
\r
/** NewClosingTag(tagname): indicates the event of finding a new closing tag\r
* in the document. Tag name is given. Returns a non-zero value upon \r
* success, and returns NULLT in case of error. */\r
\r
/** NewClosingTag(tagname): indicates the event of finding a new closing tag\r
* in the document. Tag name is given. Returns a non-zero value upon \r
* success, and returns NULLT in case of error. */\r
\r
/** NewText(s): indicates the event of finding a new text s in \r
* the document. The new text is inserted within the text collection. \r
\r
/** NewText(s): indicates the event of finding a new text s in \r
* the document. The new text is inserted within the text collection. \r
* the string the sequence '\0x01\0x00' is inserted in the TextCollection\r
* It is ok to do so since a non printable character cannot occur in an XML document\r
*/\r
* the string the sequence '\0x01\0x00' is inserted in the TextCollection\r
* It is ok to do so since a non printable character cannot occur in an XML document\r
*/\r