<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>