Re: Removing expired documents from Solr index

2010-08-24 Thread Erick Erickson
In addition to deletebyquery, you might want to optimize your index periodically to reclaim some space Best Erick On Tue, Aug 24, 2010 at 2:53 AM, Andreas Jung wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andy wrote: > > My documents have an "expiration_datetime" field that

Re: Removing expired documents from Solr index

2010-08-24 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy wrote: > My documents have an "expiration_datetime" field that holds the expiration > datetime of the document. > > I use a filter query to exclude expired documents from my query results. > > Is it a good idea to periodically go through the in

Removing expired documents from Solr index

2010-08-24 Thread Andy
My documents have an "expiration_datetime" field that holds the expiration datetime of the document. I use a filter query to exclude expired documents from my query results. Is it a good idea to periodically go through the index and remove expired documents from it? If so what is the best way t