Just add a bogus 0 timestamp after it when you index it.  That is what we did.  
Dates are not stored or indexed as characters, anyway, so space would not be 
any different one way or the other.

JRJ

-----Original Message-----
From: stockii [mailto:stock.jo...@googlemail.com] 
Sent: Wednesday, September 14, 2011 4:56 AM
To: solr-user@lucene.apache.org
Subject: Schema fieldType y-m-d ?!?!

is it possible to index a datefield in the format of "y-m-d" ? i dont need
the timestamp. so i can save me some space.


which ways exists to search with a complex date-filter !? 

-----
------------------------------- System ----------------------------------------

One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 
1 Core with 31 Million Documents other Cores < 100.000

- Solr1 for Search-Requests - commit every Minute  - 5GB Xmx
- Solr2 for Update-Request  - delta every Minute - 4GB Xmx
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Schema-fieldType-y-m-d-tp3335359p3335359.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to