Search using imap search (solr) bug
-
Hi,
I noticed that currently it is not possible to use the server side search ( don’t know the correct name). The dovecot server i have has a solr instance for Full text search and using imap webclients like nextcloud or rainloop it works perfectly. However when do do a search using z-push (and the windows 10 client, and also using the native android mail app) i don’t get any results.
Solr however does give the result but somehow z-push fails with the following error in the z-push-error log.:
09/08/2018 21:21:54 [16487] [WARN] [jurgen] /usr/share/z-push/lib/request/search.php:462 Invalid argument supplied for foreach() (2)
In the solr log i see the search being done and giving result to dovecot:
2018-08-09 21:21:55.702 INFO (qtp817348612-17) [ x:dovecot] o.a.s.c.S.Request [dovecot] webapp=/solr path=/select params={q={!lucene+q.op%3DAND}(hdr:system+OR+body:system)&fl=uid,score&sort=uid+asc&fq=%2Bbox:d99b6c0100345a5bdb490000307f729c+%2Buser:jurgen&rows=18&wt=xml} hits=1 status=0 QTime=2
-
@insan3 said in Search using imap search (solr) bug:
Hi,
I noticed that currently it is not possible to use the server side search ( don’t know the correct name). The dovecot server i have has a solr instance for Full text search and using imap webclients like nextcloud or rainloop it works perfectly. However when do do a search using z-push (and the windows 10 client, and also using the native android mail app) i don’t get any results.
Solr however does give the result but somehow z-push fails with the following error in the z-push-error log.:
09/08/2018 21:21:54 [16487] [WARN] [jurgen] /usr/share/z-push/lib/request/search.php:462 Invalid argument supplied for foreach() (2)
In the solr log i see the search being done and giving result to dovecot:
2018-08-09 21:21:55.702 INFO (qtp817348612-17) [ x:dovecot] o.a.s.c.S.Request [dovecot] webapp=/solr path=/select params={q={!lucene+q.op%3DAND}(hdr:system+OR+body:system)&fl=uid,score&sort=uid+asc&fq=%2Bbox:d99b6c0100345a5bdb490000307f729c+%2Buser:jurgen&rows=18&wt=xml} hits=1 status=0 QTime=2
I seee that’s why I was not able to server side search. Using imap webclients like nextcloud or rainloop is legal?