#include "ftdefs.h"Include dependency graph for ft_static.c:

Go to the source code of this file.
Functions | |
| FT_INFO * | ft_init_search (uint flags, void *info, uint keynr, byte *query, uint query_len, CHARSET_INFO *cs, byte *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 |
| char | ft_boolean_syntax [] = "+ -><()~*:\"\"&|" |
| const HA_KEYSEG | ft_keysegs [FT_SEGS] |
| _ft_vft | _ft_vft_nlq |
| _ft_vft | _ft_vft_boolean |
| const char * | ft_stopword_file = 0 |
| const char * | ft_precompiled_stopwords [] |
| st_mysql_ftparser | ft_default_parser |
| static int ft_default_parser_parse | ( | MYSQL_FTPARSER_PARAM * | param | ) | [static] |
Definition at line 630 of file ft_static.c.
References st_mysql_ftparser_param::doc, st_mysql_ftparser_param::length, and st_mysql_ftparser_param::mysql_parse.
00631 { 00632 return param->mysql_parse(param, param->doc, param->length); 00633 }
| FT_INFO* ft_init_search | ( | uint | flags, | |
| void * | info, | |||
| uint | keynr, | |||
| byte * | query, | |||
| uint | query_len, | |||
| CHARSET_INFO * | cs, | |||
| byte * | record | |||
| ) |
Definition at line 59 of file ft_static.c.
References FT_BOOL, ft_init_boolean_search(), and ft_init_nlq_search().
Referenced by ha_myisam::ft_init_ext().
00062 { 00063 FT_INFO *res; 00064 if (flags & FT_BOOL) 00065 res= ft_init_boolean_search((MI_INFO *)info, keynr, query, query_len,cs); 00066 else 00067 res= ft_init_nlq_search((MI_INFO *)info, keynr, query, query_len, flags, 00068 record); 00069 return res; 00070 }
Here is the call graph for this function:

Here is the caller graph for this function:

| struct _ft_vft _ft_vft_boolean |
Initial value:
{
ft_boolean_read_next, ft_boolean_find_relevance, ft_boolean_close_search,
ft_boolean_get_relevance, ft_boolean_reinit_search
}
Definition at line 53 of file ft_static.c.
Referenced by ft_init_boolean_search().
| struct _ft_vft _ft_vft_nlq |
Initial value:
{
ft_nlq_read_next, ft_nlq_find_relevance, ft_nlq_close_search,
ft_nlq_get_relevance, ft_nlq_reinit_search
}
Definition at line 49 of file ft_static.c.
Referenced by ft_init_nlq_search().
| char ft_boolean_syntax[] = "+ -><()~*:\"\"&|" |
Definition at line 24 of file ft_static.c.
Referenced by ft_boolean_check_syntax_string(), get_one_option(), get_options(), sys_default_ftb_syntax(), and sys_update_ftb_syntax().
Initial value:
Definition at line 635 of file ft_static.c.
Referenced by _ftb_climb_the_tree(), ft_boolean_find_relevance(), ft_init_boolean_search(), and mi_keydef_read().
| const HA_KEYSEG ft_keysegs[FT_SEGS] |
Initial value:
{
{
0,
HA_FT_WLEN,
0,
0,
HA_VAR_LENGTH_PART | HA_PACK_KEY,
HA_FT_MAXBYTELEN,
HA_KEYTYPE_VARTEXT2,
63,
0,
2, 0, 0
},
{
0, 0, 0, 0, HA_NO_SORT, HA_FT_WLEN, HA_FT_WTYPE, 63, 0, 0, 0, 0
}
}
Definition at line 26 of file ft_static.c.
Referenced by mi_open().
| ulong ft_max_word_len = HA_FT_MAXCHARLEN |
| ulong ft_min_word_len = 4 |
Definition at line 21 of file ft_static.c.
Referenced by ft_add_stopword(), ft_get_word(), ft_simple_get_word(), and mi_repair_by_sort().
| const char* ft_precompiled_stopwords[] |
Definition at line 73 of file ft_static.c.
Referenced by ft_init_stopwords(), get_one_option(), and run_test().
| const char* ft_stopword_file = 0 |
Definition at line 72 of file ft_static.c.
Referenced by ft_free_stopwords(), and ft_init_stopwords().
1.4.7

