MySQL 8.0.29
Source Code Documentation
ft_nlq_search.cc File Reference
#include <fcntl.h>
#include <sys/types.h>
#include <algorithm>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "storage/myisam/ftdefs.h"
#include "storage/myisam/myisamdef.h"
#include "template_utils.h"

Classes

struct  ft_doc_rec
 
struct  st_ft_info_nlq
 
struct  ALL_IN_ONE
 
struct  FT_SUPERDOC
 

Macros

#define FT_CORE
 

Typedefs

typedef struct ft_doc_rec FT_DOC
 

Functions

static int FT_SUPERDOC_cmp (const void *, const void *a, const void *b)
 
static int walk_and_match (void *v_word, uint32 count, void *v_aio)
 
static int walk_and_copy (void *v_from, uint32, void *v_to)
 
static int walk_and_push (void *v_from, uint32, void *v_best)
 
static int FT_DOC_cmp (void *, uchar *a_arg, uchar *b_arg)
 
FT_INFOft_init_nlq_search (MI_INFO *info, uint keynr, uchar *query, uint query_len, uint flags, uchar *record)
 
int ft_nlq_read_next (FT_INFO *handler_base, char *record)
 
float ft_nlq_find_relevance (FT_INFO *handler_base, uchar *record, uint length)
 
void ft_nlq_close_search (FT_INFO *handler)
 
float ft_nlq_get_relevance (FT_INFO *handler_base)
 
void ft_nlq_reinit_search (FT_INFO *handler_base)
 

Macro Definition Documentation

◆ FT_CORE

#define FT_CORE

Typedef Documentation

◆ FT_DOC

typedef struct ft_doc_rec FT_DOC

Function Documentation

◆ FT_DOC_cmp()

static int FT_DOC_cmp ( void *  ,
uchar a_arg,
uchar b_arg 
)
static

◆ ft_init_nlq_search()

FT_INFO * ft_init_nlq_search ( MI_INFO info,
uint  keynr,
uchar query,
uint  query_len,
uint  flags,
uchar record 
)

◆ ft_nlq_close_search()

void ft_nlq_close_search ( FT_INFO handler)

◆ ft_nlq_find_relevance()

float ft_nlq_find_relevance ( FT_INFO handler_base,
uchar record,
uint  length 
)

◆ ft_nlq_get_relevance()

float ft_nlq_get_relevance ( FT_INFO handler_base)

◆ ft_nlq_read_next()

int ft_nlq_read_next ( FT_INFO handler_base,
char *  record 
)

◆ ft_nlq_reinit_search()

void ft_nlq_reinit_search ( FT_INFO handler_base)

◆ FT_SUPERDOC_cmp()

static int FT_SUPERDOC_cmp ( const void *  ,
const void *  a,
const void *  b 
)
static

◆ walk_and_copy()

static int walk_and_copy ( void *  v_from,
uint32  ,
void *  v_to 
)
static

◆ walk_and_match()

static int walk_and_match ( void *  v_word,
uint32  count,
void *  v_aio 
)
static

◆ walk_and_push()

static int walk_and_push ( void *  v_from,
uint32  ,
void *  v_best 
)
static