Hey everyone, I'm seeing some conflicting suggestions concerning the type of field to use for indexing a Date/DateTime/Time value.
Some suggest conversion using DateTools.timeToString() and using a StringField, while others suggest using the long value of getTime() and using a LongField (this is supposed to perform better using NumericRangeQuery). What are your opinions on this? Kind regards, Frederik