Hi,

Nope...they don't. Generally, I am not sure if I'd bother rounding this 
information to "reduce the index size." Have you determined how much index size 
space you'll actually be saving? I am not confident that it'd be worth your 
time; i.e. I'd just go with indexing/storing the time information as well. 

Regardless, if you do want to go this route, the only way I can think of that 
wouldn't be a "complicated" solution is to have one field that is 
indexed/rounded (and not stored) and another field that is just stored (and not 
indexed).

Hope this helps.

-----Original Message-----
From: jefferyyuan [mailto:yuanyun...@gmail.com] 
Sent: Monday, December 10, 2012 3:14 PM
To: solr-user@lucene.apache.org
Subject: RE: Is there a way to round data when index, but still able to return 
original content?

Sorry to ask a question again, but I want to round date(TireDate) and 
TrieLongField, seems they don't support configuring analyzer: charFilter , 
tokenizer or filter.

What I should do? Now I am thinking to write my custom date or long field, is 
there any other way? :)

Thanks :)
 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Is-there-a-way-to-round-data-when-index-but-still-able-to-return-original-content-tp4025405p4025793.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to