Hi
I am using RestHighLevelClient 7.13.
I am trying to create an index with date math:
CreateIndexRequest cir = new CreateIndexRequest("<books-{now/d}-0001>");
It create an index with the name books, without the date.
What is missing?
Hi
I am using RestHighLevelClient 7.13.
I am trying to create an index with date math:
CreateIndexRequest cir = new CreateIndexRequest("<books-{now/d}-0001>");
It create an index with the name books, without the date.
What is missing?
This may be related to special character escaping.
Can you try with CreateIndexRequest("%3Cbooks-%7Bnow%2Fd%7D%3E-0001")
?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.