lucene-wrapper.h revision c25356d5978632df6203437e1953bcb29e0c736f
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3Timo Sirainenstruct lucene_index *lucene_index_init(const char *path, const char *lock_path);
fd8b93ca5cbeba64fe6fa5dc98a3e580fb046791Timo Sirainenvoid lucene_index_deinit(struct lucene_index *index);
e28fa207d1a097fa6e4a867f74ee0761472ef1ceTimo Sirainenint lucene_index_select_mailbox(struct lucene_index *index,
bd4e36a8cd7257cca7d1434c49a1e343ed7c5100Timo Sirainenint lucene_index_get_last_uid(struct lucene_index *index, uint32_t *last_uid_r);
b1f37113a5760bee842c5a7678bb5fa6f5bd8b60Timo Sirainenint lucene_index_build_init(struct lucene_index *index, uint32_t *last_uid_r);
1c1cecd3dfaf71b0c9499b044023e631841e88aaTimo Sirainenint lucene_index_build_more(struct lucene_index *index, uint32_t uid,
697ff56bf3cdc9e7989ea2a70accf866b14b64d1Timo Sirainenint lucene_index_build_deinit(struct lucene_index *index);
37847ec8eaec9ad55c9df10ae109efe7b37ac573Timo Sirainenint lucene_index_expunge(struct lucene_index *index, uint32_t uid);
d2e74f2af690b8e2d536400f02f397cbed1334b7Timo Sirainenint lucene_index_lookup(struct lucene_index *index, enum fts_lookup_flags flags,
13d98ffa534f2e7d04a832c9d0153fc9c568b878Timo Sirainen const char *key, ARRAY_TYPE(seq_range) *result);