Elasticsearch Python Interface

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

ParameterDetails
hostsArray of hosts in the form of object containing keys host and port. Default host is 'localhost' and port is 9200. A sample entry looks like [{"host": "ip of es server", "port": 9200}]
sniff_on_startBoolean if you want the client to sniff nodes on startup, sniffing means getting list of nodes in elasticsearch cluster
sniff_on_connection_failBoolean for triggering sniffing if connection fails when client is active
sniffer_timeouttime difference in seconds between each sniff
sniff_timeouttime for a single request of sniffing in seconds
retry_on_timeoutBooelan for if client should timeout trigger contacting a different elasticsearch node or just throw error
http_authBasic http authentication can be provided here in the form of username:password


Got any Elasticsearch Question?