Tuto

Querying

Querry syntax

curl -X POST localhost:9200/twitter/_search?q=username:eriky

Config (in /etc/elasticsearch)

Fix master_not_discovered_exception

Fix discovery startup error

avril 20 17:37:07 tourny elasticsearch[10763]: ERROR: [1] bootstrap checks failed
avril 20 17:37:07 tourny elasticsearch[10763]: [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.se
node.data : true
network.host : 0.0.0.0
discovery.seed_hosts : []
cluster.initial_master_nodes : []