Groonga
Loading...
Searching...
No Matches
tokenizer_query_deprecated.h
Go to the documentation of this file.
1/*
2 Copyright(C) 2012-2018 Brazil
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17*/
18
19#pragma once
20
21#include <groonga/plugin.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif /* __cplusplus */
26
27/*
28 grn_tokenizer_query is a structure for storing a query. See the following
29 functions.
30
31 Deprecated since 8.0.2. Use accessors to get data.
32 */
34
37 char *query_buf;
38 const char *ptr;
39 unsigned int length;
41 unsigned int flags;
43 /* Deprecated since 4.0.8. Use tokenize_mode instead. */
46};
47
48#ifdef __cplusplus
49} /* extern "C" */
50#endif /* __cplusplus */
grn_encoding
Definition groonga.h:163
Definition groonga.h:919
Definition tokenizer_query_deprecated.h:35
grn_tokenize_mode tokenize_mode
Definition tokenizer_query_deprecated.h:45
char * query_buf
Definition tokenizer_query_deprecated.h:37
bool have_tokenized_delimiter
Definition tokenizer_query_deprecated.h:42
unsigned int flags
Definition tokenizer_query_deprecated.h:41
grn_token_mode token_mode
Definition tokenizer_query_deprecated.h:44
grn_encoding encoding
Definition tokenizer_query_deprecated.h:40
grn_obj * normalized_query
Definition tokenizer_query_deprecated.h:36
const char * ptr
Definition tokenizer_query_deprecated.h:38
unsigned int length
Definition tokenizer_query_deprecated.h:39
grn_tokenize_mode
Definition token.h:37