Solr does not delete anything automatically. Add a timestamp field when you index.
Use delete by query to delete everything older than 20 days. wunder On Jan 9, 2013, at 12:44 PM, hyrax 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.