I have date fields in my documents that are just YYYY-MM-DD. I set them as a pdate field in the schema as such:
<fieldType name="pdate" class="solr.DatePointField" docValues="true"/> and <field name="next_contact_date" type="pdate" uninvertible="true" sortMissingLast="true" indexed="true" stored="true"/> When I use the API to do a search and try: 2018-01-01 [2018-01-01 TO NOW] I get 'Invalid Date String'. Did I type my data wrong in the schema? Is there something I'm missing from the field itself? According to this page, I should be able to query on just YYYY or YYYY-MM or YYYY-MM-DD. https://lucene.apache.org/solr/guide/6_6/working-with-dates.html Thanks, Rhys