static_bitsequence_rrr02 *EBVector; \r
\r
/** Tag sequence represented with a data structure for rank and select */\r
static_bitsequence_rrr02 *EBVector; \r
\r
/** Tag sequence represented with a data structure for rank and select */\r
/** ParentNode(d): returns the parent node of document identifier d. */\r
treeNode ParentNode(DocID d);\r
\r
/** ParentNode(d): returns the parent node of document identifier d. */\r
treeNode ParentNode(DocID d);\r
\r
* of the data structure for the XML document. Parameter empty_texts \r
* indicates whether we index empty texts in document or not. Parameter \r
* sample_rate_text indicates the sampling rate for the text searching data\r
* structures (small values get faster searching but a bigger space \r
* of the data structure for the XML document. Parameter empty_texts \r
* indicates whether we index empty texts in document or not. Parameter \r
* sample_rate_text indicates the sampling rate for the text searching data\r
* structures (small values get faster searching but a bigger space \r
- * requirement). Returns a non-zero value upon success, NULLT in case of \r
+ * requirement). dtc disable the use of the TextCollection\r
+ * (i.e. everything is considered an empty text *)\r
+ * Returns a non-zero value upon success, NULLT in case of \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
* Returns NULL in case that the tag identifier is not valid.*/\r
unsigned char *GetTagName(TagType tagid);\r
\r
* Returns NULL in case that the tag identifier is not valid.*/\r
unsigned char *GetTagName(TagType tagid);\r
\r
/** Prefix(s): search for texts prefixed by string s. */\r
TextCollection::document_result Prefix(uchar const *s) {\r
return Text->Prefix(s);\r
/** Prefix(s): search for texts prefixed by string s. */\r
TextCollection::document_result Prefix(uchar const *s) {\r
return Text->Prefix(s);\r