lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <karl.wet...@gmail.com>
Subject Re: lucene field data types
Date Fri, 13 Oct 2006 12:46:32 GMT

13 okt 2006 kl. 12.32 skrev Cam Bazz:

> Is there any difference on the field data format. I like to store  
> strings, numbers, and dates in fields.
> I was storing everything as string. but is there another way,  
> especially for storing date types?

On a low level everything is stored as terms (read: string values).   
DateTools will take care of the conversion for you.

http://lucene.apache.org/java/docs/api/org/apache/lucene/document/ 
DateTools.html 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message