Sure, but if I am understanding correctly, this is less than ideal. I don't really want my index to know anything about how how timestamp is set. sometimes I may pass a hard value for timestamp (ie in test scaffolds), and sometimes I may want to use now. I don't want to have to activate/deactivate a pipeline if there is a way around it.
I am currently doing this from a utility script I wrote in .net using nest, so I can grab DateTime.Now from there and pass the resulting value in when I index, but I was hoping there was an easy way to do the same inside the json document itself.
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.