Error: fts_solr: received invalid uid

John Fawcett john at voipsupport.it
Sun Jan 2 22:08:28 UTC 2022


On 02/01/2022 12:13, oliver.krone at snoog.ch wrote:
> Here is what solr sends to dovecot, the offending uid in this exmaple 
> is '21'
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":1,
>     "params":{
>       "q":"body:Zeitserver"}},
>   "response":{"numFound":1,"start":0,"numFoundExact":true,"docs":[
>       {
>         "uid":[21],
>         "box":["2e60f3054059c95fbf580600eb1947e0"],
>         "user":["oliver.krone at snoog.ch"],
> "id":"21/2e60f3054059c95fbf580600eb1947e0/oliver.krone at snoog.ch",
>         "body":[" ... "],
>         "hdr":[" ... "],
>         "from":["..."],
>         "subject":["..."],
>         "to":["..."],
>         "_version_":1720682332306800640}]
>   }}
>
> Oliver 

Hi Oliver

unless I'm missing something that doesn't look like the type of query 
dovecot launches - dovecot sends various parameters including the 
request for xml results. The thing that looks odd to me is that the 
results fields should be single values not arrays enclosed in [], ie I 
would have expected

"uid":21,

instead of

"uid":[21],

I'd be interested to see the equivalent xml output produced by running a 
query that dovecot sends.

John



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220102/b825530d/attachment.htm>


More information about the dovecot mailing list