Skip to content Skip to sidebar Skip to footer

How To Use Python Elasticsearch Client Upsert Api

I'm using Elasticsearch python client as http://elasticsearch-py.readthedocs.org/ I tried hard but still could not find the update api with upsert. Could anyone give me an example

Solution 1:

Method index(*args, **kwargs) adds or updates a typed JSON document in a specific index, making it searchable.

As pointed out in Python Elasticsearch Client -> API Documentation.

Post a Comment for "How To Use Python Elasticsearch Client Upsert Api"