PUT https://elasticsearch-url/index-name/_doc/customID?refresh
{
my data object
}
This is the response I get:
{
"_index": "index-name",
"_type": "_doc",
"_id": "customID",
"_version": 1,
"result": "created",
"forced_refresh": true,
"_shards": {
"total": 2,
"successful": 2,
"failed": 0
},
"_seq_no": 204514,
"_primary_term": 1
}
I do have:
"index.refresh_interval": "1s",
"index.write.wait_for_active_shards": "1"
I can query it by customID but not through a search. Can't seem to figure out why?