You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/10/31 11:39:03 UTC

[GitHub] [incubator-ponymail-foal] sebbASF commented on pull request #119: Fix bug causing dedup to fail when importing mailboxes

sebbASF commented on pull request #119:
URL: https://github.com/apache/incubator-ponymail-foal/pull/119#issuecomment-955683662


   It looks like ES changed the response type for total. I had not realised this. It used to be of the form:
   
     "hits" : {
       "total" : 0,
       "max_score" : null,
       "hits" : [ ]
     }
   
   FTR, in either case, len(res["hits"]["hits"]) should work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ponymail.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org