-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 All,
I'd usually call this a "date", but Solr's documentation says that a "date" is what I would call a timestamp (including time zone). https://lucene.apache.org/solr/guide/7_3/field-types-included-with-solr. html [ I remember reading but cannot currently seem to find a reference page with the actual pre-defined field types Solr ships with. That page above lists the class names, but not the aliases used by a real Solr installation. For example, if I want to store an integral numeric value, I know I want to use "pint", but can't actually find the reference for that. ] I have dates that have no timestamps on them, and I'd like to store them and probably sort by them. I'm not sure whether we would care to search for documents whose date fields are within a certain range, etc. at this point. I could convert the date into a number e.g. 20180415 for today and simply store it as a "pint", but that might, ahem, surprise someone looking at documents in the collection and expect that an obvious "date"-oriented field was in fact an int. Also, the year 10000 bug will rear its ugly head many generations from now. Is there an existing appropriate field type for "date-without-time"? Thanks, - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlrTtr8ACgkQHPApP6U8 pFgulw//VEY527dP/rSvar7Q/XK6lXBNNrl3C7QOse1WlZq27+WRy7A4JwgfKzaR gvIvLCIytDBznI+Xye72iLuyYnbKn92OLv4sz/jazQfIK9qwlEIRe0ZDKqWZI8k0 CNz3HrfKC5o4Qe84H8dj91PK8U00Q2EGjHe/WY2yS0vYhs4bp4xaVM0Ks2VcRvo1 Jw1DyPwyODTPEQRQ0DdowE6InIJzJ2r+A6OrexvRUMng6AldbOKJjanqgSbZf5lF 07+nnT5Raejs3pIQCbyrCWuxOMGiTsR5rxYy8TTlnUdyqgRChDEaJD4tFBFv/sis ez03T3EsIBz6Ha4BLhFRLhtssjYX6+5gyrJUd32xaUYtvsQR0ca0iE9gzNBVXNzz ZsRNGEmjOE3khJX4UL1MuGgQRbLlKfSunz/58HdXlzzmIG9LwryKj3G85diRYUmh Ge9PUmjUg9u+VfzqgfFqO3Mf1FhQkW/ejAli7I3N8hHk81Iyvhdm+eqyuhq5GFNy U7Kxmmg1DfJIumXu+4jczUuN8TI+xanvB2yiTgsycbIfGAL5LRMoRi/yN8+DhaUX HOvGhWprzzuNb+AM4heLq/dAk2vD/zWK91Vc2YLAy9/W/WW9xeoIzRLvb32y6oq7 OVUuni0IjVzphLJOgfZOtCBUdAKWAwSMOohJ6+v7GcAW1xBzSP4= =cgb/ -----END PGP SIGNATURE-----