I haven't modified my schema in the older solr or trunk solr,is it required to modify my schema to support timestamps?
On Fri, Jul 22, 2011 at 4:45 PM, Chris Hostetter <hossman_luc...@fucit.org>wrote: > : In Solr 1.3.1 I am able to store timestamps in my docs so that I query > them. > : > : In trunk when I try to store a doc with a timestamp I get a sever error, > is > : there a different way I should store this data or is this a bug? > > are you sure your schema has that field defined as a (Trie)DateField ? > > Based on the error it looks like it's configured as a "TrieDoubleField" > ... > > : 75004824785129473] Error adding field 'at_d'='2011-05-30T01:05:18Z' > ... > : > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > : Caused by: java.lang.NumberFormatException: For input string: > : "2011-05-30T01:05:18Z" > : at > : sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222) > : at java.lang.Double.parseDouble(Double.java:510) > : at > org.apache.solr.schema.TrieField.createField(TrieField.java:509) > > > -Hoss > -- - sent from my mobile 6176064373