You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Walt Stoneburner <wa...@gmail.com> on 2007/02/27 18:59:25 UTC
Soliciting Design Thoughts on Date Searching
I've been asked if it's possible to search on dates within a document.
The high level goal is to index a number of documents which mention
specific dates, and then perform a broad query for documents that
mention dates within a certain time period.
In thinking about how to go about solving this problem, I would figure
one would need a filter to extract all the date formats and store them
in a separate field, perhaps as a list.
Has anyone done something like this with Lucene, or perhaps could give
me some gentle design issues / recommendations for consideration so
that I don't paint myself into a corner later?
Thanks,
-Walt Stoneburner
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Soliciting Design Thoughts on Date Searching
Posted by Erick Erickson <er...@gmail.com>.
If you search the mailing list archive for 'date', you'll find a wealth of
discussion on this topic. Also, try DateTools, DateRange, etc.
http://www.gossamer-threads.com/lists/lucene/java-user/
Erick
On 2/27/07, Walt Stoneburner <wa...@gmail.com> wrote:
>
> I've been asked if it's possible to search on dates within a document.
> The high level goal is to index a number of documents which mention
> specific dates, and then perform a broad query for documents that
> mention dates within a certain time period.
>
> In thinking about how to go about solving this problem, I would figure
> one would need a filter to extract all the date formats and store them
> in a separate field, perhaps as a list.
>
> Has anyone done something like this with Lucene, or perhaps could give
> me some gentle design issues / recommendations for consideration so
> that I don't paint myself into a corner later?
>
> Thanks,
> -Walt Stoneburner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>