...
Code Block | ||
---|---|---|
| ||
curl 'http://localhost:9200/{index_name}/item/{item_id}?pretty' |
Query number of items modified before a given time
Code Block | ||
---|---|---|
| ||
curl 'http://localhost:9200/{index_name}/_search?pretty' -d '
{
"query": {
"range" : {
"modified_at" : {
"lte" : "2018-02-13T18:01:44"
}
}
},
"size": 1
}' |
Troubleshooting
Shards are UNASSIGNED
...