MySQL 8.0.40
Source Code Documentation
|
Full Text Search plugin tokenizer refer to MyISAM. More...
Go to the source code of this file.
Classes | |
struct | FT_WORD |
FTS query token. More... | |
Macros | |
#define | true_word_char(c, ch) ((c) & (_MY_U | _MY_L | _MY_NMR) || (ch) == '_') |
Check a char is true word. More... | |
#define | FTB_YES (fts_boolean_syntax[0]) |
#define | FTB_EGAL (fts_boolean_syntax[1]) |
#define | FTB_NO (fts_boolean_syntax[2]) |
#define | FTB_INC (fts_boolean_syntax[3]) |
#define | FTB_DEC (fts_boolean_syntax[4]) |
#define | FTB_LBR (fts_boolean_syntax[5]) |
#define | FTB_RBR (fts_boolean_syntax[6]) |
#define | FTB_NEG (fts_boolean_syntax[7]) |
#define | FTB_TRUNC (fts_boolean_syntax[8]) |
#define | FTB_LQUOT (fts_boolean_syntax[10]) |
#define | FTB_RQUOT (fts_boolean_syntax[11]) |
Functions | |
uchar | fts_get_word (const CHARSET_INFO *cs, uchar **start, uchar *end, FT_WORD *word, MYSQL_FTPARSER_BOOLEAN_INFO *info) |
Tokenizer for ngram referring to ft_get_word(ft_parser.c) in MyISAM. More... | |
Variables | |
static const char * | fts_boolean_syntax = DEFAULT_FTB_SYNTAX |
Boolean search syntax. More... | |
Full Text Search plugin tokenizer refer to MyISAM.
Created 2014/11/17 Shaohua Wang
#define FTB_DEC (fts_boolean_syntax[4]) |
#define FTB_EGAL (fts_boolean_syntax[1]) |
#define FTB_INC (fts_boolean_syntax[3]) |
#define FTB_LBR (fts_boolean_syntax[5]) |
#define FTB_LQUOT (fts_boolean_syntax[10]) |
#define FTB_NEG (fts_boolean_syntax[7]) |
#define FTB_NO (fts_boolean_syntax[2]) |
#define FTB_RBR (fts_boolean_syntax[6]) |
#define FTB_RQUOT (fts_boolean_syntax[11]) |
#define FTB_TRUNC (fts_boolean_syntax[8]) |
#define FTB_YES (fts_boolean_syntax[0]) |
Check a char is true word.
|
inline |
Tokenizer for ngram referring to ft_get_word(ft_parser.c) in MyISAM.
Differences: a. code format changed; b. stopword processing removed.
[in] | cs | charset |
[in,out] | start | doc start pointer |
[in,out] | end | doc end pointer |
[in,out] | word | token |
[in,out] | info | token info |
0 | eof |
1 | word found |
2 | left bracket |
3 | right bracket |
4 | stopword found |
|
static |
Boolean search syntax.