Options:
1. Run delete by query every N hours/days to purge old docs
2. Create daily indices and drop them every H hours/days to get rid of all
old docs

The TTL support for 1. would probably be implemented with delete by query.
 The drawback of 1. compared to 2. is that you will pay the price when
Lucene merges segments with lots of deleted docs.  2. is cheaper.

Otis
--
Solr & ElasticSearch Support
http://sematext.com/





On Wed, Jan 9, 2013 at 3:44 PM, hyrax <hao.w...@selerityfinancial.com>wrote:

> Exactly what I want.
> For a simple scenario:
> Index a batch of documents 20 days ago and they are searchable via Solr.
> After say 20 days, you can't search them anymore because they are deleted
> automatically by Solr.
> Thanks,
> Hao
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Clean-Up-Aged-Index-Using-DeletionPolicy-tp4031704p4032019.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to