MySQL 8.0.29
Source Code Documentation
ft_static.cc File Reference
#include <stddef.h>
#include <sys/types.h>
#include "my_inttypes.h"
#include "storage/myisam/ftdefs.h"

Functions

FT_INFOft_init_search (uint flags, void *info, uint keynr, uchar *query, uint query_len, const CHARSET_INFO *cs, uchar *record)
 
static int ft_default_parser_parse (MYSQL_FTPARSER_PARAM *param)
 

Variables

ulong ft_min_word_len = 4
 
ulong ft_max_word_len = HA_FT_MAXCHARLEN
 
ulong ft_query_expansion_limit = 5
 
const char * ft_boolean_syntax = DEFAULT_FTB_SYNTAX
 
const HA_KEYSEG ft_keysegs [FT_SEGS]
 
const struct _ft_vft _ft_vft_nlq
 
const struct _ft_vft _ft_vft_boolean
 
const char * ft_stopword_file = nullptr
 
const char * ft_precompiled_stopwords []
 
struct st_mysql_ftparser ft_default_parser
 

Function Documentation

◆ ft_default_parser_parse()

static int ft_default_parser_parse ( MYSQL_FTPARSER_PARAM param)
static

◆ ft_init_search()

FT_INFO * ft_init_search ( uint  flags,
void *  info,
uint  keynr,
uchar query,
uint  query_len,
const CHARSET_INFO cs,
uchar record 
)

Variable Documentation

◆ _ft_vft_boolean

const struct _ft_vft _ft_vft_boolean
Initial value:
= {
int ft_boolean_read_next(FT_INFO *ftb_base, char *record)
Definition: ft_boolean_search.cc:741
void ft_boolean_close_search(FT_INFO *ftb_base)
Definition: ft_boolean_search.cc:939
void ft_boolean_reinit_search(FT_INFO *ftb)
Definition: ft_boolean_search.cc:953
float ft_boolean_get_relevance(FT_INFO *ftb_base)
Definition: ft_boolean_search.cc:948
float ft_boolean_find_relevance(FT_INFO *ftb_base, uchar *record, uint length)
Definition: ft_boolean_search.cc:882

◆ _ft_vft_nlq

const struct _ft_vft _ft_vft_nlq
Initial value:
void ft_nlq_close_search(FT_INFO *handler)
Definition: ft_nlq_search.cc:354
int ft_nlq_read_next(FT_INFO *handler_base, char *record)
Definition: ft_nlq_search.cc:306
void ft_nlq_reinit_search(FT_INFO *handler_base)
Definition: ft_nlq_search.cc:361
float ft_nlq_get_relevance(FT_INFO *handler_base)
Definition: ft_nlq_search.cc:356
float ft_nlq_find_relevance(FT_INFO *handler_base, uchar *record, uint length)
Definition: ft_nlq_search.cc:329

◆ ft_boolean_syntax

const char* ft_boolean_syntax = DEFAULT_FTB_SYNTAX

◆ ft_default_parser

struct st_mysql_ftparser ft_default_parser
Initial value:
nullptr}
static int ft_default_parser_parse(MYSQL_FTPARSER_PARAM *param)
Definition: ft_static.cc:627
#define MYSQL_FTPARSER_INTERFACE_VERSION
Definition: plugin.h:642

◆ ft_keysegs

const HA_KEYSEG ft_keysegs[FT_SEGS]
Initial value:
= {
{
nullptr,
0,
0,
63,
0,
2, 0, 0
},
{
nullptr, 0, 0, 0, HA_NO_SORT, HA_FT_WLEN, 63, HA_FT_WTYPE, 0, 0, 0, 0}}
#define HA_FT_MAXBYTELEN
Definition: ft_global.h:41
#define HA_FT_WLEN
Definition: fulltext.h:35
#define HA_FT_WTYPE
Definition: fulltext.h:34
@ HA_KEYTYPE_VARTEXT2
Definition: my_base.h:458
#define HA_PACK_KEY
Pack string key to previous key (optimization supported by MyISAM).
Definition: my_base.h:475
#define HA_NO_SORT
Definition: my_base.h:567
#define HA_VAR_LENGTH_PART
Definition: my_base.h:562

◆ ft_max_word_len

ulong ft_max_word_len = HA_FT_MAXCHARLEN

◆ ft_min_word_len

ulong ft_min_word_len = 4

◆ ft_precompiled_stopwords

const char* ft_precompiled_stopwords[]

◆ ft_query_expansion_limit

ulong ft_query_expansion_limit = 5

◆ ft_stopword_file

const char* ft_stopword_file = nullptr