lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane James Vaucher <>
Subject Re: altering index
Date Tue, 04 May 2004 05:52:29 GMT
Two points if I understand your question:

1) Search scope:
Add your date of expiration in the index and restrict searches on that
date. You can use a date filter, or a ranged query in a field with the
date in a yyyyMMdd format.

2) Document management scope:
When the date expires, you might want to schedule for the document to be
removed from the index.


On Mon, 3 May 2004, Amrun wrote:

> Hi,
> I'm working on a project to search for documents on the web. Everything
> works fine, but I want to restrict the availability of the documents. When
> the user gives it's document to get indexed he can choose a date at which
> the document's availability should expire. So I need a field or something
> like that in which I can save the date of expiration. Over this field I want
> to alter the index.
> I hope I haven't explained my problem to unclear. So, does anybody know any
> methods to do this or how I can alter my index the best way?
> Would be great,
> thx Amr├╗n

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message