MySQL 8.0.39
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:742
void ft_boolean_close_search(FT_INFO *ftb_base)
Definition: ft_boolean_search.cc:940
void ft_boolean_reinit_search(FT_INFO *ftb)
Definition: ft_boolean_search.cc:954
float ft_boolean_get_relevance(FT_INFO *ftb_base)
Definition: ft_boolean_search.cc:949
float ft_boolean_find_relevance(FT_INFO *ftb_base, uchar *record, uint length)
Definition: ft_boolean_search.cc:883

◆ _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:355
int ft_nlq_read_next(FT_INFO *handler_base, char *record)
Definition: ft_nlq_search.cc:307
void ft_nlq_reinit_search(FT_INFO *handler_base)
Definition: ft_nlq_search.cc:362
float ft_nlq_get_relevance(FT_INFO *handler_base)
Definition: ft_nlq_search.cc:357
float ft_nlq_find_relevance(FT_INFO *handler_base, uchar *record, uint length)
Definition: ft_nlq_search.cc:330

◆ 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:628
#define MYSQL_FTPARSER_INTERFACE_VERSION
Definition: plugin.h:655

◆ 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:42
#define HA_FT_WLEN
Definition: fulltext.h:36
#define HA_FT_WTYPE
Definition: fulltext.h:35
@ HA_KEYTYPE_VARTEXT2
Definition: my_base.h:459
#define HA_PACK_KEY
Pack string key to previous key (optimization supported by MyISAM).
Definition: my_base.h:476
#define HA_NO_SORT
Definition: my_base.h:568
#define HA_VAR_LENGTH_PART
Definition: my_base.h:563

◆ 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