diff options
author | serg@serg.mysql.com <> | 2001-09-25 20:31:02 +0200 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-09-25 20:31:02 +0200 |
commit | 5a9a3e91e7a0732dc8428796c970ed0bdcc8b8c3 (patch) | |
tree | a70bc86b1e25c9dd79c1730e066609f2781b606d /include/ft_global.h | |
parent | 57e4c8ef3ba4f3bb5c2969b51db6d0605071137f (diff) | |
download | mariadb-git-5a9a3e91e7a0732dc8428796c970ed0bdcc8b8c3.tar.gz |
get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_*
Diffstat (limited to 'include/ft_global.h')
-rw-r--r-- | include/ft_global.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/ft_global.h b/include/ft_global.h index aed5998f40a..b6f33ec801b 100644 --- a/include/ft_global.h +++ b/include/ft_global.h @@ -50,12 +50,12 @@ extern uint ft_max_word_len_for_sort; int ft_init_stopwords(const char **); 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) (((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) +FT_DOCLIST * ft_nlq_init_search(void *, uint, byte *, uint, my_bool); +int ft_nlq_read_next(FT_DOCLIST *, char *); +#define ft_nlq_close_search(handler) my_free(((gptr)(handler)),MYF(0)) +#define ft_nlq_get_relevance(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].weight) +#define ft_nlq_get_docid(handler) (((FT_DOCLIST *)(handler))->doc[((FT_DOCLIST *)(handler))->curdoc].dpos) +#define ft_nlq_reinit_search(handler) (((FT_DOCLIST *)(handler))->curdoc=-1) #ifdef __cplusplus } |