MySQL 9.0.0
Source Code Documentation
|
Some definitions for full-text indices. More...
#include <sys/types.h>
#include "my_base.h"
#include "my_inttypes.h"
#include "mysql/strings/m_ctype.h"
Go to the source code of this file.
Classes | |
struct | _ft_vft |
struct | _ft_vft_ext |
struct | FT_INFO |
struct | FT_INFO_EXT |
struct | ft_hints |
Info about FULLTEXT index hints, passed to the storage engine. More... | |
Macros | |
#define | HA_FT_MAXBYTELEN 336 |
#define | HA_FT_MAXCHARLEN (HA_FT_MAXBYTELEN / 4) |
#define | DEFAULT_FTB_SYNTAX "+ -><()~*:\"\"&|" |
#define | FTS_ORDERED_RESULT (1LL << 1) |
#define | FTS_DOCID_IN_RESULT (1LL << 2) |
#define | FTS_DOC_ID_COL_NAME "FTS_DOC_ID" |
#define | FTS_NGRAM_PARSER_NAME "ngram" |
#define | FT_NL 0 /** Normal mode */ |
#define | FT_BOOL 1 /** Boolean mode */ |
#define | FT_SORTED 2 /** perform internal sorting by rank */ |
#define | FT_EXPAND 4 /** query expansion */ |
#define | FT_NO_RANKING 8 /** skip rank calculation */ |
Enumerations | |
enum | ft_operation { FT_OP_UNDEFINED , FT_OP_NO , FT_OP_GT , FT_OP_GE } |
Operation types, used in FT_HINTS. More... | |
Functions | |
int | ft_init_stopwords (void) |
void | ft_free_stopwords (void) |
FT_INFO * | ft_init_search (uint, void *, uint, uchar *, uint, const CHARSET_INFO *, uchar *) |
bool | ft_boolean_check_syntax_string (const uchar *) |
Variables | |
const char * | ft_stopword_file |
const char * | ft_precompiled_stopwords [] |
ulong | ft_min_word_len |
ulong | ft_max_word_len |
ulong | ft_query_expansion_limit |
const char * | ft_boolean_syntax |
struct st_mysql_ftparser | ft_default_parser |
Some definitions for full-text indices.
#define DEFAULT_FTB_SYNTAX "+ -><()~*:\"\"&|" |
#define FT_BOOL 1 /** Boolean mode */ |
#define FT_EXPAND 4 /** query expansion */ |
#define FT_NL 0 /** Normal mode */ |
#define FT_NO_RANKING 8 /** skip rank calculation */ |
#define FT_SORTED 2 /** perform internal sorting by rank */ |
#define FTS_DOC_ID_COL_NAME "FTS_DOC_ID" |
#define FTS_DOCID_IN_RESULT (1LL << 2) |
#define FTS_NGRAM_PARSER_NAME "ngram" |
#define FTS_ORDERED_RESULT (1LL << 1) |
#define HA_FT_MAXBYTELEN 336 |
#define HA_FT_MAXCHARLEN (HA_FT_MAXBYTELEN / 4) |
enum ft_operation |
bool ft_boolean_check_syntax_string | ( | const uchar * | str | ) |
void ft_free_stopwords | ( | void | ) |
FT_INFO * ft_init_search | ( | uint | flags, |
void * | info, | ||
uint | keynr, | ||
uchar * | query, | ||
uint | query_len, | ||
const CHARSET_INFO * | cs, | ||
uchar * | record | ||
) |
int ft_init_stopwords | ( | void | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |