1#ifndef FT_GLOBAL_INCLUDED
2#define FT_GLOBAL_INCLUDED
42#define HA_FT_MAXBYTELEN 336
43#define HA_FT_MAXCHARLEN (HA_FT_MAXBYTELEN / 4)
45#define DEFAULT_FTB_SYNTAX "+ -><()~*:\"\"&|"
65#define FTS_ORDERED_RESULT (1LL << 1)
66#define FTS_DOCID_IN_RESULT (1LL << 2)
68#define FTS_DOC_ID_COL_NAME "FTS_DOC_ID"
70#define FTS_NGRAM_PARSER_NAME "ngram"
110#define FT_NO_RANKING 8
FT_INFO * ft_init_search(uint, void *, uint, uchar *, uint, const CHARSET_INFO *, uchar *)
Definition: ft_static.cc:66
const char * ft_stopword_file
Definition: ft_static.cc:77
struct st_mysql_ftparser ft_default_parser
Definition: ft_static.cc:634
ft_operation
Operation types, used in FT_HINTS.
Definition: ft_global.h:99
@ FT_OP_UNDEFINED
Definition: ft_global.h:100
@ FT_OP_NO
Operation undefined, use of hints is impossible.
Definition: ft_global.h:101
@ FT_OP_GT
No operation, single MATCH function.
Definition: ft_global.h:102
@ FT_OP_GE
'Greater than' operation
Definition: ft_global.h:103
void ft_free_stopwords(void)
Definition: ft_stopwords.cc:133
const char * ft_precompiled_stopwords[]
Definition: ft_static.cc:78
ulong ft_max_word_len
Definition: ft_static.cc:35
ulong ft_min_word_len
Definition: ft_static.cc:34
const char * ft_boolean_syntax
Definition: ft_static.cc:37
int ft_init_stopwords(void)
Definition: ft_stopwords.cc:68
ulong ft_query_expansion_limit
Definition: ft_static.cc:36
bool ft_boolean_check_syntax_string(const uchar *)
Definition: ft_parser.cc:96
A better implementation of the UNIX ctype(3) library.
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1141
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
unsigned char uchar
Definition: my_inttypes.h:52
Definition: m_ctype.h:421
Definition: ft_global.h:77
struct _ft_vft * please
Definition: ft_global.h:78
struct _ft_vft_ext * could_you
Definition: ft_global.h:79
Definition: ft_global.h:72
struct _ft_vft * please
Definition: ft_global.h:73
Definition: ft_global.h:57
ulonglong(* get_flags)()
Definition: ft_global.h:59
ulonglong(* count_matches)(FT_INFO_EXT *)
Definition: ft_global.h:61
uint(* get_version)()
Definition: ft_global.h:58
ulonglong(* get_docid)(FT_INFO_EXT *)
Definition: ft_global.h:60
Definition: ft_global.h:48
void(* reinit_search)(FT_INFO *)
Definition: ft_global.h:53
float(* find_relevance)(FT_INFO *, uchar *, uint)
Definition: ft_global.h:50
void(* close_search)(FT_INFO *)
Definition: ft_global.h:51
float(* get_relevance)(FT_INFO *)
Definition: ft_global.h:52
int(* read_next)(FT_INFO *, char *)
Definition: ft_global.h:49
Info about FULLTEXT index hints, passed to the storage engine.
Definition: ft_global.h:117
double op_value
Operation value.
Definition: ft_global.h:123
ha_rows limit
LIMIT value, HA_POS_ERROR if not set.
Definition: ft_global.h:125
enum ft_operation op_type
Operation type.
Definition: ft_global.h:121
uint flags
FULLTEXT flags, see FT_NL, etc.
Definition: ft_global.h:119
Definition: plugin_ftparser.h:216