Displaying 10 results from an estimated 10 matches for "xapian_fts_backend_update_context".
2019 Jan 06
3
Solr -> Xapian ?
...nd ?
Waiting fro your feedback on all those questions
Thank you
JM
-----------------
static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend,
struct mailbox *const boxes[], struct mail_search_arg *args, enum
fts_lookup_flags flags, struct fts_multi_result *result)
{
struct xapian_fts_backend_update_context *ctx =
(struct xapian_fts_backend_update_context *)_ctx;
int i=0;
while(boxes[i]!=NULL)
{
if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0)
return -1;
i++;
}
return 0;
}
On 2019-01-06 16:31, Joan Moreau via dovecot wrote:
> for fts_backend_xxx_lookup,...
2019 Jan 08
3
Solr -> Xapian ?
...support user-global searches rather than only per-folder searches.
>> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend, struct mailbox *const boxes[], struct mail_search_arg *args, enum fts_lookup_flags flags, struct fts_multi_result *result)
>> {
>> struct xapian_fts_backend_update_context *ctx =
>> (struct xapian_fts_backend_update_context *)_ctx;
>>
>> int i=0;
>>
>> while(boxes[i]!=NULL)
>> {
>> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0) return -1;
>> i++;
>> }
>> return 0;
&...
2019 Jan 11
2
Solr -> Xapian ?
...support user-global searches
rather than only per-folder searches.
>> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend, struct mailbox *const boxes[], struct mail_search_arg *args, enum fts_lookup_flags flags, struct fts_multi_result *result)
>> {
>> struct xapian_fts_backend_update_context *ctx =
>> (struct xapian_fts_backend_update_context *)_ctx;
>>
>> int i=0;
>>
>> while(boxes[i]!=NULL)
>> {
>> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0) return -1;
>> i++;
>> }
>> return 0;
&...
2019 Jan 07
0
Solr -> Xapian ?
...tions
>
> Thank you
>
> JM
>
> -----------------
>
> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend, struct mailbox *const boxes[], struct mail_search_arg *args, enum fts_lookup_flags flags, struct fts_multi_result *result)
> {
> struct xapian_fts_backend_update_context *ctx =
> (struct xapian_fts_backend_update_context *)_ctx;
>
> int i=0;
>
> while(boxes[i]!=NULL)
> {
> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0) return -1;
> i++;
> }
> return 0;
> }
>
> On 2019-01-06 16:31,...
2019 Jan 11
2
Solr -> Xapian ?
...ruct fts_backend *_backend,
</div>
<div>
struct mailbox *const boxes[], struct mail_search_arg *args, enum
</div>
<div>
fts_lookup_flags flags, struct fts_multi_result *result)
</div>
<div>
{
</div>
<div>
struct xapian_fts_backend_update_context *ctx =
</div>
<div>
(struct xapian_fts_backend_update_context *)_ctx;
</div>
<div>
<br>
</div>
<div>
int i=0;
</div>
<div>
<br>
</div>
<div>
while(boxes[i]!=NULL)
</div>...
2019 Jan 09
0
Solr -> Xapian ?
...support user-global searches
rather than only per-folder searches.
>> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend, struct mailbox *const boxes[], struct mail_search_arg *args, enum fts_lookup_flags flags, struct fts_multi_result *result)
>> {
>> struct xapian_fts_backend_update_context *ctx =
>> (struct xapian_fts_backend_update_context *)_ctx;
>>
>> int i=0;
>>
>> while(boxes[i]!=NULL)
>> {
>> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0) return -1;
>> i++;
>> }
>> return 0;
&...
2019 Jan 11
0
Solr -> Xapian ?
...ation for FTS indexes that support user-global searches
rather than only per-folder searches.
static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend,
struct mailbox *const boxes[], struct mail_search_arg *args, enum
fts_lookup_flags flags, struct fts_multi_result *result)
{
struct xapian_fts_backend_update_context *ctx =
(struct xapian_fts_backend_update_context *)_ctx;
int i=0;
while(boxes[i]!=NULL)
{
if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0)
return -1;
i++;
}
return 0;
}
See fts_backend_lookup_multi() - if you leave lookup_multi=NULL it
basically does this....
2019 Jan 11
0
Solr -> Xapian ?
...her than only per-folder searches.
>>
>> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend,
>> struct mailbox *const boxes[], struct mail_search_arg *args, enum
>> fts_lookup_flags flags, struct fts_multi_result *result)
>> {
>> struct xapian_fts_backend_update_context *ctx =
>> (struct xapian_fts_backend_update_context *)_ctx;
>>
>> int i=0;
>>
>> while(boxes[i]!=NULL)
>> {
>> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0)
>> return -1;
>> i++;
>> }
&g...
2019 Jan 06
2
Solr -> Xapian ?
For "rescan " and "optimize", wouldn't it be the dovecot core who
indicate which are to be dismissed (expunged), or re-ask for indexing a
particular (or all) uid ? 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,
2019 Jan 11
4
Solr -> Xapian ?
...lobal searches
> rather than only per-folder searches.
>
> static int fts_backend_xapian_lookup_multi(struct fts_backend *_backend,
> struct mailbox *const boxes[], struct mail_search_arg *args, enum
> fts_lookup_flags flags, struct fts_multi_result *result)
> {
> struct xapian_fts_backend_update_context *ctx =
> (struct xapian_fts_backend_update_context *)_ctx;
>
> int i=0;
>
> while(boxes[i]!=NULL)
> {
> if(fts_backend_xapian_lookup(backend,box[i],args,flags,result->box_results[i])<0)
> return -1;
> i++;
> }
> return 0;
> }
> See fts_backe...