Files
elasticsearch-js/docs/_examples/get.asciidoc
2013-12-27 16:41:38 -07:00

11 lines
160 B
Plaintext

.Get `/myindex/mytype/1`
[source,js]
---------
client.get({
index: 'myindex',
type: 'mytype',
id: 1
}, function (error, response) {
// ...
});
---------