MySQL 8.4.2
Source Code Documentation
fts_node_t Struct Reference

Columns of the FTS auxiliary INDEX table. More...

#include <fts0types.h>

Public Attributes

doc_id_t first_doc_id
 First document id in ilist. More...
 
doc_id_t last_doc_id
 Last document id in ilist. More...
 
byteilist
 Binary list of documents & word positions the token appears in. More...
 
ulint doc_count
 Number of doc ids in ilist. More...
 
ulint ilist_size
 Used size of ilist in bytes. More...
 
ulint ilist_size_alloc
 Allocated size of ilist in bytes. More...
 
bool synced
 flag whether the node is synced More...
 

Detailed Description

Columns of the FTS auxiliary INDEX table.

Member Data Documentation

◆ doc_count

ulint fts_node_t::doc_count

Number of doc ids in ilist.

◆ first_doc_id

doc_id_t fts_node_t::first_doc_id

First document id in ilist.

◆ ilist

byte* fts_node_t::ilist

Binary list of documents & word positions the token appears in.

TODO: For now, these are simply ut_malloc'd, but if testing shows that they waste memory unacceptably, a special memory allocator will have to be written

◆ ilist_size

ulint fts_node_t::ilist_size

Used size of ilist in bytes.

◆ ilist_size_alloc

ulint fts_node_t::ilist_size_alloc

Allocated size of ilist in bytes.

◆ last_doc_id

doc_id_t fts_node_t::last_doc_id

Last document id in ilist.

◆ synced

bool fts_node_t::synced

flag whether the node is synced


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