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:

  <field name="timestamp" type="date" indexed="true" stored="true"
default="NOW" />

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


Reply via email to