Displaying 8 results from an estimated 8 matches for "fts_index_set_head".
Did you mean:
fts_index_set_header
2016 Apr 12
2
fts-lucene with virtual folders
Hi,
It looks like I've found something strange. It looks like dovecot
updates fts-lucene index every time I'm opening virtual folder that
contains FTS query:
indexer-worker(dion): Warning: fts-lucene: Settings have changed, rebuilding index for mailbox
dovecot-virtual is pretty simple:
archive/INBOX
BODY "test"
first of all, I'm trying to perform FTS in archive/INBOX
2019 Jan 12
2
Solr -> Xapian ?
...red, indexer notices that FTS backend has only UIDs 1..100 indexed so far, and starts feeding it UIDs 101..201 in that order.
>
> You can implement get_last_uid() simply by keeping track of it in dovecot.index* files, similar to how Lucene and Solr already do it with fts_index_get_header() / fts_index_set_header(). They also have a fallback that if the index doesn't have the last_uid value, they do a slower search from the Lucene/Solr index to find the last UID.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/201901...
2019 Jan 12
2
Solr -> Xapian ?
...red, indexer notices that FTS backend has only UIDs 1..100 indexed so far, and starts feeding it UIDs 101..201 in that order.
>
> You can implement get_last_uid() simply by keeping track of it in dovecot.index* files, similar to how Lucene and Solr already do it with fts_index_get_header() / fts_index_set_header(). They also have a fallback that if the index doesn't have the last_uid value, they do a slower search from the Lucene/Solr index to find the last UID.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/201901...
2019 Jan 12
0
Solr -> Xapian ?
...is delivered, indexer notices that FTS backend has only UIDs 1..100 indexed so far, and starts feeding it UIDs 101..201 in that order.
You can implement get_last_uid() simply by keeping track of it in dovecot.index* files, similar to how Lucene and Solr already do it with fts_index_get_header() / fts_index_set_header(). They also have a fallback that if the index doesn't have the last_uid value, they do a slower search from the Lucene/Solr index to find the last UID.
2019 Jan 12
0
Solr -> Xapian ?
...red, indexer notices that FTS backend has only UIDs 1..100 indexed so far, and starts feeding it UIDs 101..201 in that order.
>
> You can implement get_last_uid() simply by keeping track of it in dovecot.index* files, similar to how Lucene and Solr already do it with fts_index_get_header() / fts_index_set_header(). They also have a fallback that if the index doesn't have the last_uid value, they do a slower search from the Lucene/Solr index to find the last UID.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/201901...
2016 May 15
2
indexer-worker out of memory with vsz_limit=750 MB?!
...t-storage.so.0(+0x11cc33)
[0x7f3702b72c33] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit_full+0x127)
[0x7f3702b72dba] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit+0x1f)
[0x7f3702b72c91] ->
/usr/lib/dovecot/modules/lib20_fts_plugin.so(fts_index_set_header+0x68)
[0x7f37014ebfd0] ->
/usr/lib/dovecot/modules/lib20_fts_plugin.so(fts_index_set_last_uid+0x3b) [0x7f37014ec00d]
-> /usr/lib/dovecot/modules/lib21_fts_solr_plugin.so(+0x4093)
[0x7f3700686093] ->
/usr/lib/dovecot/modules/lib20_fts_plugin.so(fts_backend_get_last_uid+0x81)
[0x7f37014eb3...
2019 Jan 13
0
Solr -> Xapian ?
...red, indexer notices that FTS backend has only UIDs 1..100 indexed so far, and starts feeding it UIDs 101..201 in that order.
>
> You can implement get_last_uid() simply by keeping track of it in dovecot.index* files, similar to how Lucene and Solr already do it with fts_index_get_header() / fts_index_set_header(). They also have a fallback that if the index doesn't have the last_uid value, they do a slower search from the Lucene/Solr index to find the last UID.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/201901...
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error
$ DIFF -P COMPAT.H COMPAT.H.JOAN
*** compat.h 2019-01-11 20:21:00.726625427 +0100
--- compat.h.joan 2019-01-11 20:14:41.729109919 +0100
*************** struct iovec;
*** 202,207 ****
--- 202,211 ----
ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len);
#endif
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
#if