Versions
- opensearch-rest-client (2.4.0)
- opensearch-java (2.1.0)
Describe the issue:
I’m using a _cat request to get some information about the indices through the opensearch java client. When I check the response, the creation date of the index is not coming out.
As you can see, the creationDate
of the index is not coming out.
If I make the request directly to elasticsearch, I get the creation date, as you can see below.
Request
GET _cat/indices/opensearch_*?format=json&h=index,docs.count,health,store.size,status,creation.date.string
Response
[
{
"index" : "opensearch_dashboards_sample_data_logs",
"docs.count" : "14074",
"health" : "green",
"store.size" : "18.6mb",
"status" : "open",
"creation.date.string" : "2022-11-19T08:22:13.207Z"
}
]
Is this a bug ???
Why the creation date of the index is not coming out in the opensearch java client