[phrases] trie_search now only takes the original string and the token array. Fixed a bug where certain phrases were being found in string search but not in tokenized search
This commit is contained in:
@@ -24,7 +24,7 @@ typedef struct phrase {
|
||||
VECTOR_INIT(phrase_array, phrase_t)
|
||||
|
||||
phrase_array *trie_search(trie_t *self, char *text);
|
||||
phrase_array *trie_search_tokens(trie_t *self, tokenized_string_t *response);
|
||||
phrase_array *trie_search_tokens(trie_t *self, char *str, token_array *tokens);
|
||||
phrase_t trie_search_suffixes(trie_t *self, char *word);
|
||||
|
||||
phrase_t trie_search_prefixes(trie_t *self, char *word);
|
||||
|
||||
Reference in New Issue
Block a user