My documentas have an specific ttl set and I would like to increase this ttl. Is there any fast way to do this for millions of documents?
I would like to avoid deletion and creation of the documents in order to update this field.
I tried using the update op type but it does not update the metadata even if I change the element before updating it.
I never did that and I'm expecting it to work. May be it does not work with the update API though.
If you can provide a full example, may be someone can try it and check what is wrong.
About the 5.0 link I pasted earlier, I was just saying that you should prepare yourself to switch from internal TTL feature to the Delete By Query feature instead. Something you can start to do with 2.4. You will have then less efforts IMO to migrate to 5.0.
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.