1> Well, a day is just 86,400 seconds. But that's just how often the thread wakes up and looks for docs to delete 2> Maybe. If you already have a field that has the date you want to use to expire the document, then no. Otherwise you must re-index 3> no. How could it if there's no date to expire by in the doc?
Best, Erick On Fri, Jul 13, 2018 at 1:33 AM, Adarsh_infor <hd.ada...@infor.com> wrote: > Hi All, > > I have index which is being lying in production for quite some time. Now we > need to delete the documents based on Date range, i.e., after 270 days we > should be able to delete the old documents. beyond that many days old. I > hear about this feature Time to Live i need to know couple of things before > trying it > > 1. In all the example it talks about seconds, can we specify the day counts. > 2. And the time to live needs couple new fields in index, which means a > schema change then do we need to re-index all the existing index. ? > 3. Is there way to enable autopurging without doing re-index acitiviy. > > > thanks > Adarsh > > > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html