MySQL 8.4.2
Source Code Documentation
|
Full text search types. More...
Macros | |
#define | INNOBASE_FTS0TYPES_IC |
Functions | |
static void | fts_string_dup (fts_string_t *dst, const fts_string_t *src, mem_heap_t *heap) |
Duplicate a string. More... | |
static int | fts_trx_row_doc_id_cmp (const void *p1, const void *p2) |
Compare two fts_trx_row_t doc_ids. More... | |
static int | fts_ranking_doc_id_cmp (const void *p1, const void *p2) |
Compare two fts_ranking_t doc_ids. More... | |
static int | fts_update_doc_id_cmp (const void *p1, const void *p2) |
Compare two fts_update_t doc_ids. More... | |
ulint | innobase_strnxfrm (const CHARSET_INFO *cs, const uchar *p2, const ulint len2) |
Get the first character's code position for FTS index partition. More... | |
static bool | fts_is_charset_cjk (const CHARSET_INFO *cs) |
Check if fts index charset is cjk. More... | |
static ulint | fts_select_index_by_range (const CHARSET_INFO *cs, const byte *str, ulint len) |
Select the FTS auxiliary index for the given character by range. More... | |
static ulint | fts_select_index_by_hash (const CHARSET_INFO *cs, const byte *str, ulint len) |
Select the FTS auxiliary index for the given character by hash. More... | |
static ulint | fts_select_index (const CHARSET_INFO *cs, const byte *str, ulint len) |
Select the FTS auxiliary index for the given character. More... | |
static const char * | fts_get_suffix (ulint selected) |
Return the selected FTS aux index suffix. More... | |
static const char * | fts_get_suffix_5_7 (ulint selected) |
Return the selected FTS aux index suffix in 5.7 compatible format. More... | |
Full text search types.
Created 2007-03-27 Sunny Bains
#define INNOBASE_FTS0TYPES_IC |
|
inlinestatic |
Return the selected FTS aux index suffix.
selected | in: selected index |
|
inlinestatic |
Return the selected FTS aux index suffix in 5.7 compatible format.
[in] | selected | selected index |
|
inlinestatic |
Check if fts index charset is cjk.
[in] | cs | charset |
true | if the charset is cjk |
false | if not. |
|
inlinestatic |
Compare two fts_ranking_t doc_ids.
p1 | in: id1 |
p2 | in: id2 |
|
inlinestatic |
Select the FTS auxiliary index for the given character.
[in] | cs | charset |
[in] | str | string |
[in] | len | string length in bytes |
the | index to use for the string |
|
inlinestatic |
Select the FTS auxiliary index for the given character by hash.
[in] | cs | charset |
[in] | str | string |
[in] | len | string length |
the | index to use for the string |
|
inlinestatic |
Select the FTS auxiliary index for the given character by range.
[in] | cs | charset |
[in] | str | string |
[in] | len | string length |
the | index to use for the string |
|
inlinestatic |
Duplicate a string.
dst | in: dup to here |
src | in: src string |
heap | in: heap to use |
|
inlinestatic |
Compare two fts_trx_row_t doc_ids.
p1 | in: id1 |
p2 | in: id2 |
|
inlinestatic |
Compare two fts_update_t doc_ids.
p1 | in: id1 |
p2 | in: id2 |
ulint innobase_strnxfrm | ( | const CHARSET_INFO * | cs, |
const uchar * | p2, | ||
const ulint | len2 | ||
) |
Get the first character's code position for FTS index partition.
[in] | cs | Character set |
[in] | p2 | string |
[in] | len2 | string length |