# Meta -- information about Elasticsearch curl http://cloudcoderbuilder.ad.wlu.edu:9200 curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/health?v&pretty' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/health' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/nodes' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/nodes?v' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/indices' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/_cat/indices?v&pretty' # Add a new index (replace myindex) curl -XPUT 'http://cloudcoderbuilder.ad.wlu.edu:9200/myindex?pretty' # Do some searches of the bank index curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?pretty' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?q=*&sort=account_number:asc&pretty' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?q=*&sort=account_number:asc&size=1&pretty' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?q=*&sort=account_number:asc&size=1&from=10&pretty' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?pretty' -H 'Content-Type: application/json' -d'{"query": {"match":{"account_number":20}}}' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?pretty' -H 'Content-Type: application/json' -d'{"query": { "bool" : { "must": [ {"match":{"address":"lane"}} ]}}}' curl -XGET 'http://cloudcoderbuilder.ad.wlu.edu:9200/bank/_search?pretty' -H 'Content-Type: application/json' -d'{"query": { "bool" : { "must": [ {"match":{"address":"mill"}}, {"match":{"address":"lane"}} ]}}}' # Add new customers to the customer index # Replace the name curl -XPOST 'http://cloudcoderbuilder.ad.wlu.edu:9200/customer/_doc' -d'{"name":"Test McTester"}' -H "Content-Type: application/json"