History log of /dovecot/src/lib-fts/fts-tokenizer-private.h
Revision Date Author Comments Expand
8b1a9a4d63b0abccdf7cb1acb8359d5396dd657b 09-May-2015 Timo Sirainen <tss@iki.fi>

lib-fts: Changed fts_tokenizer_next/final() to return error string. The current tokenizers can't fail, but if we're doing tokenization via external services they could fail.

2730605833442b5ddcb261f90b8375fc98201e35 09-May-2015 Timo Sirainen <tss@iki.fi>

lib-fts: Added fts_tokenizer_reset()

3dc5a231160859c9627157dc53a94d5e4494fe9f 09-May-2015 Teemu Huovila <teemu.huovila@dovecot.fi>

fts: Change tokenizer API to be able to return errors Modify fts_tokenizer_next() to return integer status codes. It returns 1 if a token was returned in *token_r, 0 if more input is needed and -1 on error.

c865b0e9c65fd77f7b2ab6f8616d3def5501ecb3 20-Apr-2015 Timo Sirainen <tss@iki.fi>

Initial import for lib-fts. Parts of what this code does was already implemented internally by fts-lucene. lib-fts is intended to be usable for all the FTS backends. The APIs are still going to change a bit, but hopefully not after v2.2.17 release. Mostly written by Teemu Huovila.