MySQL 8.0.40
Source Code Documentation
ddl0fts.cc File Reference

Create Full Text Index with (parallel) merge sort. More...

#include <sys/types.h>
#include "univ.i"
#include "ddl0ddl.h"
#include "ddl0fts.h"
#include "ddl0impl-builder.h"
#include "ddl0impl-merge.h"
#include "dict0dd.h"
#include "fts0plugin.h"
#include "lob0lob.h"
#include "os0thread-create.h"
#include "sql/sql_class.h"
#include <current_thd.h>

Classes

struct  ddl::Token
 Row fts token for plugin parser. More...
 
struct  ddl::Insert
 Structure stores information needed for the insertion phase of FTS parallel sort. More...
 
struct  ddl::Tokenize_ctx
 Structure stores information from string tokenization operation. More...
 
struct  ddl::FTS::Parser
 For parsing and sorting the documents. More...
 
struct  ddl::FTS::Parser::Handler
 Data structures for building an index. More...
 
struct  ddl::FTS::Inserter
 
struct  ddl::FTS::Inserter::Handler
 Data structures for building an index. More...
 

Namespaces

namespace  ddl
 The general architecture is that the work is done in two phases, roughly the read and write phase.
 

Enumerations

enum class  ddl::Thread_state : uint8_t { ddl::UNKNOWN , ddl::COMPLETE , ddl::EXITING , ddl::ABORT }
 status bit used for communication between parent and child thread More...
 

Variables

static constexpr size_t PENDING_DOC_MEMORY_LIMIT = 1000000
 Maximum pending doc memory limit in bytes for a fts tokenization thread. More...
 
static constexpr size_t DOC_ITEM_QUEUE_SIZE = 64
 Must be a power of 2. More...
 

Detailed Description

Create Full Text Index with (parallel) merge sort.

Created 10/13/2010 Jimmy Yang

Variable Documentation

◆ DOC_ITEM_QUEUE_SIZE

constexpr size_t DOC_ITEM_QUEUE_SIZE = 64
staticconstexpr

Must be a power of 2.

◆ PENDING_DOC_MEMORY_LIMIT

constexpr size_t PENDING_DOC_MEMORY_LIMIT = 1000000
staticconstexpr

Maximum pending doc memory limit in bytes for a fts tokenization thread.