I'm using ElasticSearch 6.2.3 and I'm indexing documents with IDs being URLs. When I query the index:
GET /ecm_sync/_search
{
"query": {"match_all": {}}
}
I get:
...
"hits": [
{
"_index": "ecm_sync",
"_type": "doc",
"_id": "workspace://SpacesStore/07dfa82d-c6ce-469d-b881-4fab6cd9a277",
"_score": 1,
...
Now, if I take this URL and try to GET it directly:
GET /ecm_sync/_doc/workspace%3A%2F%2FSpacesStore%2F07dfa82d-c6ce-469d-b881-4fab6cd9a277
I get:
{
"_index": "ecm_sync",
"_type": "_doc",
"_id": "workspace://SpacesStore/07dfa82d-c6ce-469d-b881-4fab6cd9a277",
"found": false
}
The same thing happens both with Kibana and curl. I've seen there was an opened issue long time ago but it was closed so I don't know if I'm doing something wrong.