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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]