mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Initial checkin of the new boolean fulltext search code
This commit is contained in:
@@ -53,8 +53,8 @@ void ft_free_stopwords(void);
|
||||
FT_DOCLIST * ft_init_search(void *, uint, byte *, uint, my_bool);
|
||||
int ft_read_next(FT_DOCLIST *, char *);
|
||||
#define ft_close_search(handler) my_free(((gptr)(handler)),MYF(0))
|
||||
#define ft_get_relevance(handler) ((handler)->doc[(handler)->curdoc].weight)
|
||||
#define ft_get_docid(handler) ((handler)->doc[(handler)->curdoc].dpos)
|
||||
#define ft_get_relevance(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].weight)
|
||||
#define ft_get_docid(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].dpos)
|
||||
#define ft_reinit_search(handler) (((FT_DOCLIST *)(handler))->curdoc=-1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user