# HG changeset patch # User Oleksandr Gavenko # Date 1540412674 -10800 # Node ID 8c9e8c734f98a98ab29dc3b6e969650489a1a918 # Parent 954eb979bb4d0e15881b721b5a1bb256e309d1a8 Added more examples. diff -r 954eb979bb4d -r 8c9e8c734f98 elasticsearch.rst --- a/elasticsearch.rst Wed Oct 24 14:28:24 2018 +0300 +++ b/elasticsearch.rst Wed Oct 24 23:24:34 2018 +0300 @@ -20,7 +20,7 @@ To pretty print output append query:: - ?pretty=1 + GET /_cat/nodes?pretty=1 Get base information ==================== @@ -36,6 +36,8 @@ GET /_cat/nodes?v GET /_cat/master?v + watch -d curl -s 'localhost:9200/_cat/nodes?v' + List cluster state:: GET /_cluster/state?pretty @@ -125,6 +127,8 @@ ``-:`` or ``-:""`` for excluding field value. +``+:`` or ``+:""`` for including field value. + https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html Exists Query