OLD | NEW |
1 /* | 1 /* |
2 ** 2006 July 10 | 2 ** 2006 July 10 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. | 4 ** The author disclaims copyright to this source code. |
5 ** | 5 ** |
6 ************************************************************************* | 6 ************************************************************************* |
7 ** Defines the interface to tokenizers used by fulltext-search. There | 7 ** Defines the interface to tokenizers used by fulltext-search. There |
8 ** are three basic components: | 8 ** are three basic components: |
9 ** | 9 ** |
10 ** sqlite3_tokenizer_module is a singleton defining the tokenizer | 10 ** sqlite3_tokenizer_module is a singleton defining the tokenizer |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 struct sqlite3_tokenizer { | 138 struct sqlite3_tokenizer { |
139 const sqlite3_tokenizer_module *pModule; /* The module for this tokenizer */ | 139 const sqlite3_tokenizer_module *pModule; /* The module for this tokenizer */ |
140 /* Tokenizer implementations will typically add additional fields */ | 140 /* Tokenizer implementations will typically add additional fields */ |
141 }; | 141 }; |
142 | 142 |
143 struct sqlite3_tokenizer_cursor { | 143 struct sqlite3_tokenizer_cursor { |
144 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ | 144 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ |
145 /* Tokenizer implementations will typically add additional fields */ | 145 /* Tokenizer implementations will typically add additional fields */ |
146 }; | 146 }; |
147 | 147 |
| 148 int fts3_global_term_cnt(int iTerm, int iCol); |
| 149 int fts3_term_cnt(int iTerm, int iCol); |
| 150 |
| 151 |
148 #endif /* _FTS3_TOKENIZER_H_ */ | 152 #endif /* _FTS3_TOKENIZER_H_ */ |
OLD | NEW |