search for: fts_backend_refresh

Displaying 9 results from an estimated 9 matches for "fts_backend_refresh".

2019 Jan 06
2
Solr -> Xapian ?
...data, size_t size); You should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > what is refresh versus rescan ? From fts-api.h: /* Refresh index to make sure we see latest changes from lookups. ?? Returns 0 if ok, -1 if error. */ int fts_backend_refresh(struct fts_backend *backend); /* Go through the entire index and make sure all mails are indexed, ?? and delete any extra mails in the index. */ int fts_backend_rescan(struct fts_backend *backend); Regards, Stepham > > > On January 5, 2019 14:23:10 Joan Moreau via dovecot > <d...
2019 Jan 06
2
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 06
2
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 06
0
Solr -> Xapian ?
...ook at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > >> what is refresh versus rescan ? > > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 06
0
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 06
0
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 07
0
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 06
3
Solr -> Xapian ?
...should look at the sources of a few backends like squat and solr to get a feel of what exactly this is doing. > > what is refresh versus rescan ? > From fts-api.h: > > /* Refresh index to make sure we see latest changes from lookups. > Returns 0 if ok, -1 if error. */ > int fts_backend_refresh(struct fts_backend *backend); > /* Go through the entire index and make sure all mails are indexed, > and delete any extra mails in the index. */ > int fts_backend_rescan(struct fts_backend *backend); > > Regards, > > Stepham > > On January 5, 2019 14:23:10 Joan Moreau...
2019 Jan 05
2
Solr -> Xapian ?
Anyone willing to explain those functions ? 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_backend fts_backend_xapian = { > .name = "xapian", > .flags = FTS_BACKEND_FLAG_NORMALIZE_INPUT, -> what