MySQL  8.0.19
Source Code Documentation
fts_doc_t Struct Reference

This type represents a single document. More...

#include <fts0types.h>

Public Attributes

fts_string_t text
 document text More...
 
ibool found
 TRUE if the document was found successfully in the database. More...
 
ib_rbt_ttokens
 This is filled when the document is tokenized. More...
 
ib_alloc_tself_heap
 An instance of this type is allocated from this heap along with any objects that have the same lifespan, most notably the vector of token positions. More...
 
CHARSET_INFOcharset
 Document's charset info. More...
 
st_mysql_ftparserparser
 fts plugin parser More...
 
bool is_ngram
 Whether it is a ngram parser. More...
 
ib_rbt_tstopwords
 Stopwords. More...
 

Detailed Description

This type represents a single document.

Member Data Documentation

◆ charset

CHARSET_INFO* fts_doc_t::charset

Document's charset info.

◆ found

ibool fts_doc_t::found

TRUE if the document was found successfully in the database.

◆ is_ngram

bool fts_doc_t::is_ngram

Whether it is a ngram parser.

◆ parser

st_mysql_ftparser* fts_doc_t::parser

fts plugin parser

◆ self_heap

ib_alloc_t* fts_doc_t::self_heap

An instance of this type is allocated from this heap along with any objects that have the same lifespan, most notably the vector of token positions.

◆ stopwords

ib_rbt_t* fts_doc_t::stopwords

Stopwords.

◆ text

fts_string_t fts_doc_t::text

document text

◆ tokens

ib_rbt_t* fts_doc_t::tokens

This is filled when the document is tokenized.

Tokens; indexed by fts_string_t*, cells are of type fts_token_t*


The documentation for this struct was generated from the following file: