I currently have 2 fields that need to be changed in my Elasticsearch.
They are the DOB (Date of Birth) and Phone number field.
Currently the phone field has the type "Long" and the DOB field has the type "Date"
When I index my data this doesn't work cause bot the DOB and Date data might have '-' or '+'.
So in the long run, I have to either change my dynamic mapping (which I think is possible but have no clue how to do) or reindex with the proper dynamic mapping?
What should be the type for these fields and should I reindex to a new index or change my dynamic mapping if possible.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.