11 May 2020

Elasticsearch query API

List all indices:
  GET /_cat/indices


List all field in index:
  GET /rules-test


List all documents(records) in index:
   GET /rules-test/_search/


Get document by ID:
   GET /rules-test/_doc/cJG_UnEB1e0J32pjx0pG



Count documents:
   GET /rules-test/_count?q=user:kimchy

No comments:

Post a Comment

Terima kasih