RE: SOLR Improvement: Expiration

2007-01-30 Thread Fuad Efendi
Thanks! 
Curently I submit about 100 delete requests per second... Using your SolrEx!

-Original Message-
From: Ryan McKinley=

you can add a date field to your schema with a default value "NOW".
This will give each document a timestamp for when it was indexed.  I
have this in my schema:

   

then you can easily delete with a query.






Re: SOLR Improvement: Expiration

2007-01-30 Thread Ryan McKinley

you can add a date field to your schema with a default value "NOW".
This will give each document a timestamp for when it was indexed.  I
have this in my schema:

  

then you can easily delete with a query.


On 1/30/07, Fuad Efendi <[EMAIL PROTECTED]> wrote:

If it is not implemented/reported yet...
I am having problems with deleting of old documents, would be nice to have
default expiration policy!
Thanks




Re: SOLR Improvement: Expiration

2007-01-30 Thread Walter Underwood
On 1/30/07 5:07 PM, "Fuad Efendi" <[EMAIL PROTECTED]> wrote:

> If it is not implemented/reported yet...
> I am having problems with deleting of old documents, would be nice to have
> default expiration policy!

Building in some specific policy would be hard and only
useful for people with exactly that problem.

Instead, include a date field and delete by query.
No features needed, just a tiny bit of client code.

wunder



SOLR Improvement: Expiration

2007-01-30 Thread Fuad Efendi
If it is not implemented/reported yet...
I am having problems with deleting of old documents, would be nice to have
default expiration policy!
Thanks