Delete by query with an external from job? Maybe even using date math in
the query to avoid hardcoding real dates.

Not everything needs to be inside of Solr.

Regards,
    Alex

On Fri, Jul 13, 2018, 4: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
>

Reply via email to