Displaying 10 results from an estimated 10 matches for "set_build_key".
2019 Jan 06
2
Solr -> Xapian ?
...ilbox. */
int fts_backend_get_last_uid(struct fts_backend *backend, struct mailbox
*box,
??? ??? ??? ???? uint32_t *last_uid_r);
The solr sources ( src/plugins/fts-solr/fts-backend-solr.c:213) tell me
this returns the last UID added to the index for the given mailbox and
FTS index.
> "set_build_key"
From src/plugins/fts/fts-api.h:
/* Switch to building index for specified key. If backend doesn't want to
?? index this key, it can return FALSE and caller will skip to next key. */
bool fts_backend_update_set_build_key(struct fts_backend_update_context
*ctx,
??? ??? ??? ??? ????? c...
2019 Jan 06
2
Solr -> Xapian ?
...x. */
> int fts_backend_get_last_uid(struct fts_backend *backend, struct mailbox *box,
> uint32_t *last_uid_r);
>
> The solr sources ( src/plugins/fts-solr/fts-backend-solr.c:213) tell me this returns the last UID added to the index for the given mailbox and FTS index.
>
> "set_build_key"
> From src/plugins/fts/fts-api.h:
>
> /* Switch to building index for specified key. If backend doesn't want to
> index this key, it can return FALSE and caller will skip to next key. */
> bool fts_backend_update_set_build_key(struct fts_backend_update_context *ctx,
>...
2019 Jan 05
2
Solr -> Xapian ?
...n_alloc,
> fts_backend_xapian_init,
> fts_backend_xapian_deinit,
> fts_backend_xapian_get_last_uid,
> fts_backend_xapian_update_init,
> fts_backend_xapian_update_deinit,
> fts_backend_xapian_update_set_mailbox,
> fts_backend_xapian_update_expunge,
> fts_backend_xapian_update_set_build_key,
> fts_backend_xapian_update_unset_build_key,
> fts_backend_xapian_update_build_more,
> fts_backend_xapian_refresh,
> fts_backend_xapian_rescan,
> fts_backend_xapian_optimize,
> fts_backend_default_can_lookup,
> fts_backend_xapian_lookup,
> fts_backend_xapian_lookup_multi,
&...
2019 Jan 06
2
Solr -> Xapian ?
...WHy would the backend be aware of the
transactions on the mailbox ???
There is alredy "fts_backend_xxx_update_expunge", so I beleive the
management of the expunged messages is *NOT* in the backend, right ?
On 2019-01-06 15:41, Joan Moreau wrote:
> also, for fts_backend_solr_update_set_build_key -> where is the data (of the hdr_name or the body) ?
>
> On 2019-01-06 14:10, Joan Moreau wrote:
>
> for the "last uid"-> this is not the last added, but the maximum of the UID in the indexed emails, right ?
>
> On 2019-01-06 11:53, Joan Moreau via dovecot wr...
2019 Jan 06
0
Solr -> Xapian ?
Anyone willing to explain those functions ?
Most notably " get_last_uid" "set_build_key" "build_more" , what is refresh
versus rescan ?
On January 5, 2019 14:23:10 Joan Moreau via dovecot <dovecot at dovecot.org>
wrote:
> Thank Stephan
> I basically need to know the role/description of each of the functions of
> the fts_backend:
>
> struct fts...
2019 Jan 06
0
Solr -> Xapian ?
.../
> int fts_backend_get_last_uid(struct fts_backend *backend, struct mailbox *box,
> uint32_t *last_uid_r);
>
> The solr sources ( src/plugins/fts-solr/fts-backend-solr.c:213) tell me this returns the last UID added to the index for the given mailbox and FTS index.
>
>> "set_build_key"
>
> From src/plugins/fts/fts-api.h:
>
> /* Switch to building index for specified key. If backend doesn't want to
> index this key, it can return FALSE and caller will skip to next key. */
> bool fts_backend_update_set_build_key(struct fts_backend_update_context *ctx,...
2019 Jan 06
0
Solr -> Xapian ?
also, for fts_backend_solr_update_set_build_key -> where is the data (of
the hdr_name or the body) ?
On 2019-01-06 14:10, Joan Moreau wrote:
> for the "last uid"-> this is not the last added, but the maximum of the UID in the indexed emails, right ?
>
> On 2019-01-06 11:53, Joan Moreau via dovecot wrote:
>
>...
2019 Jan 06
0
Solr -> Xapian ?
...aware of the transactions on the mailbox ???
>
> There is alredy "fts_backend_xxx_update_expunge", so I beleive the management of the expunged messages is *NOT* in the backend, right ?
>
> On 2019-01-06 15:41, Joan Moreau wrote:
>
> also, for fts_backend_solr_update_set_build_key -> where is the data (of the hdr_name or the body) ?
>
> On 2019-01-06 14:10, Joan Moreau wrote:
>
> for the "last uid"-> this is not the last added, but the maximum of the UID in the indexed emails, right ?
>
> On 2019-01-06 11:53, Joan Moreau via dovecot wr...
2019 Jan 07
0
Solr -> Xapian ?
...aware of the transactions on the mailbox ???
>
> There is alredy "fts_backend_xxx_update_expunge", so I beleive the management of the expunged messages is *NOT* in the backend, right ?
>
> On 2019-01-06 15:41, Joan Moreau wrote:
>
> also, for fts_backend_solr_update_set_build_key -> where is the data (of the hdr_name or the body) ?
>
> On 2019-01-06 14:10, Joan Moreau wrote:
>
> for the "last uid"-> this is not the last added, but the maximum of the UID in the indexed emails, right ?
>
> On 2019-01-06 11:53, Joan Moreau via dovecot wr...
2019 Jan 06
3
Solr -> Xapian ?
...aware of the transactions on the mailbox ???
>
> There is alredy "fts_backend_xxx_update_expunge", so I beleive the management of the expunged messages is *NOT* in the backend, right ?
>
> On 2019-01-06 15:41, Joan Moreau wrote:
>
> also, for fts_backend_solr_update_set_build_key -> where is the data (of the hdr_name or the body) ?
>
> On 2019-01-06 14:10, Joan Moreau wrote:
>
> for the "last uid"-> this is not the last added, but the maximum of the UID in the indexed emails, right ?
>
> On 2019-01-06 11:53, Joan Moreau via dovecot wr...