Re: datetools and index storage question

2006-12-14 Thread Cam Bazz
this made it very clear. thank you. On 12/14/06, Erick Erickson <[EMAIL PROTECTED]> wrote: UN_TOKENIZED is probably the safest way to store your dates. You could get by with using, say, WhitespaceAnalyzer for indexing and parsing the query, but that would invite hard-to-track bugs to no advanta

Re: datetools and index storage question

2006-12-14 Thread Erick Erickson
UN_TOKENIZED is probably the safest way to store your dates. You could get by with using, say, WhitespaceAnalyzer for indexing and parsing the query, but that would invite hard-to-track bugs to no advantage I can see. I'll let someone more knowledgeable than me talk about NORMS field.store.NO p

datetools and index storage question

2006-12-14 Thread Cam Bazz
Hello Everyone, I have two fields that contain the original and modification dates of certain documents. I decided to store them like: Document entry = new Document(); entry.add(new Field("edate", DateTools.timeToString(edate.getTime(), DateTools.Resolution.MINUTE), Field.Store.YES, Field.Index.