You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The object of pyes.es.ResultSet makes me confusing. When I use pyes.es.Es.search() to retrieve data from Elasticsearch, it returns an object x of pyes.es.ResultSet which has len(), total, count()... methods defined. But if the index is non-existing, len(x) or x.total, or x.count() will raise IndexMissingException, it makes me confusing. Since I wondering a 0 is returned if no data retrieved, but in practice I got an exception!!!
The text was updated successfully, but these errors were encountered:
The object of pyes.es.ResultSet makes me confusing. When I use pyes.es.Es.search() to retrieve data from Elasticsearch, it returns an object x of pyes.es.ResultSet which has len(), total, count()... methods defined. But if the index is non-existing, len(x) or x.total, or x.count() will raise IndexMissingException, it makes me confusing. Since I wondering a 0 is returned if no data retrieved, but in practice I got an exception!!!
The text was updated successfully, but these errors were encountered: