Elasticsearch
communityDistributed search and analytics engine for structured and unstructured data
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{host}:9200/{index}/_searchFull-text search across indices
Parameters
fromoffset (integeroptionalsizeresults (integeroptionalindexindex name (stringrequiredquerysearch query DSL (objectrequiredReturns
hits with total, max_score, hits[] {_id, _score, _source}POST
https://{host}:9200/{index}/_docIndex a document
Parameters
bodydocument JSON (objectrequiredindexindex name (stringrequiredReturns
_id, result (created|updated), _versionGET
https://{host}:9200/_cluster/healthCheck cluster health
Returns
status (green|yellow|red), number_of_nodes, active_shards