Using the experimental Google Search API for App Engine and running locally:
search.Index(name=_INDEX_NAME).put(document_to_index)
This is exactly as per the Google documentation here: https://developers.google.com/appengine/docs/python/search/overview
But generates the following error:
AttributeError: 'Index' object has no attribute 'put'
Is this a bug or have I missed something?