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
{{ message }}
This repository was archived by the owner on Nov 5, 2019. It is now read-only.
index = SON()
for (key, value) in index_list:
if not isinstance(key, basestring):
raise TypeError("first item in each key pair must be a string")
if value not in [ASCENDING, DESCENDING, GEO2D, {'$meta': 'textScore'}]:
raise TypeError("second item in each key pair must be ASCENDING, "
"DESCENDING, or GEO2D")
index[key] = value
return index