1#ifndef FT_GLOBAL_INCLUDED
2#define FT_GLOBAL_INCLUDED
41#define HA_FT_MAXBYTELEN 336
42#define HA_FT_MAXCHARLEN (HA_FT_MAXBYTELEN / 4)
44#define DEFAULT_FTB_SYNTAX "+ -><()~*:\"\"&|"
64#define FTS_ORDERED_RESULT (1LL << 1)
65#define FTS_DOCID_IN_RESULT (1LL << 2)
67#define FTS_DOC_ID_COL_NAME "FTS_DOC_ID"
69#define FTS_NGRAM_PARSER_NAME "ngram"
109#define FT_NO_RANKING 8
FT_INFO * ft_init_search(uint, void *, uint, uchar *, uint, const CHARSET_INFO *, uchar *)
Definition: ft_static.cc:65
const char * ft_stopword_file
Definition: ft_static.cc:76
struct st_mysql_ftparser ft_default_parser
Definition: ft_static.cc:633
ft_operation
Operation types, used in FT_HINTS.
Definition: ft_global.h:98
@ FT_OP_UNDEFINED
Definition: ft_global.h:99
@ FT_OP_NO
Operation undefined, use of hints is impossible.
Definition: ft_global.h:100
@ FT_OP_GT
No operation, single MATCH function.
Definition: ft_global.h:101
@ FT_OP_GE
'Greater than' operation
Definition: ft_global.h:102
void ft_free_stopwords(void)
Definition: ft_stopwords.cc:132
const char * ft_precompiled_stopwords[]
Definition: ft_static.cc:77
ulong ft_max_word_len
Definition: ft_static.cc:34
ulong ft_min_word_len
Definition: ft_static.cc:33
const char * ft_boolean_syntax
Definition: ft_static.cc:36
int ft_init_stopwords(void)
Definition: ft_stopwords.cc:67
ulong ft_query_expansion_limit
Definition: ft_static.cc:35
bool ft_boolean_check_syntax_string(const uchar *)
Definition: ft_parser.cc:95
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:1139
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:55
unsigned char uchar
Definition: my_inttypes.h:51
Definition: m_ctype.h:422
Definition: ft_global.h:76
struct _ft_vft * please
Definition: ft_global.h:77
struct _ft_vft_ext * could_you
Definition: ft_global.h:78
Definition: ft_global.h:71
struct _ft_vft * please
Definition: ft_global.h:72
Definition: ft_global.h:56
ulonglong(* get_flags)()
Definition: ft_global.h:58
ulonglong(* count_matches)(FT_INFO_EXT *)
Definition: ft_global.h:60
uint(* get_version)()
Definition: ft_global.h:57
ulonglong(* get_docid)(FT_INFO_EXT *)
Definition: ft_global.h:59
Definition: ft_global.h:47
void(* reinit_search)(FT_INFO *)
Definition: ft_global.h:52
float(* find_relevance)(FT_INFO *, uchar *, uint)
Definition: ft_global.h:49
void(* close_search)(FT_INFO *)
Definition: ft_global.h:50
float(* get_relevance)(FT_INFO *)
Definition: ft_global.h:51
int(* read_next)(FT_INFO *, char *)
Definition: ft_global.h:48
Info about FULLTEXT index hints, passed to the storage engine.
Definition: ft_global.h:116
double op_value
Operation value.
Definition: ft_global.h:122
ha_rows limit
LIMIT value, HA_POS_ERROR if not set.
Definition: ft_global.h:124
enum ft_operation op_type
Operation type.
Definition: ft_global.h:120
uint flags
FULLTEXT flags, see FT_NL, etc.
Definition: ft_global.h:118
Definition: plugin_ftparser.h:215