<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 02/01/2022 12:13,
<a class="moz-txt-link-abbreviated" href="mailto:oliver.krone@snoog.ch">oliver.krone@snoog.ch</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7e0928898c417734528d8d105089ba0a@snoog.ch">Here is what
solr sends to dovecot, the offending uid in this exmaple is '21'
<br>
{
<br>
"responseHeader":{
<br>
"status":0,
<br>
"QTime":1,
<br>
"params":{
<br>
"q":"body:Zeitserver"}},
<br>
"response":{"numFound":1,"start":0,"numFoundExact":true,"docs":[
<br>
{
<br>
"uid":[21],
<br>
"box":["2e60f3054059c95fbf580600eb1947e0"],
<br>
"user":[<a class="moz-txt-link-rfc2396E" href="mailto:oliver.krone@snoog.ch">"oliver.krone@snoog.ch"</a>],
<br>
"id":<a class="moz-txt-link-rfc2396E" href="mailto:21/2e60f3054059c95fbf580600eb1947e0/oliver.krone@snoog.ch">"21/2e60f3054059c95fbf580600eb1947e0/oliver.krone@snoog.ch"</a>,
<br>
"body":[" ... "],
<br>
"hdr":[" ... "],
<br>
"from":["..."],
<br>
"subject":["..."],
<br>
"to":["..."],
<br>
"_version_":1720682332306800640}]
<br>
}}
<br>
<br>
Oliver
</blockquote>
<p>Hi Oliver</p>
<p>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 <br>
</p>
<pre class="data">"uid":21,
instead of
"uid":[21],
</pre>
<p>I'd be interested to see the equivalent xml output produced by
running a query that dovecot sends.<br>
</p>
<p>John<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>