Searching documents by periods of time
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, September 15, 2004 03:48 PM

I'm planning include using the search of documents by periods of time, how can I perform this action??,
If I would achieve the search of documents by periods, how could be indexed the field (containing the document datetime register) in the index?, would be perhaps keyword type, or text, or another?


tnks

Re: Searching documents by periods of time

Posted By:   Otis_Gospodnetic  
Posted On:   Thursday, September 16, 2004 06:15 PM

There is a page on Apache Wiki describing how to index dates (short story: YYYYMMDD may do for you). When you search, you can use range queries (the syntax for that is on Lucene site).
About | Sitemap | Contact