can you please provide inputs to update the existing field type in the
mapping.Below is the requirement.
I have crated contractIndex and it is type is conract. In that i have
fields contractid as long, contract number as long but i want to change
contract number type as string.
That said, you can try to use a multifield which add a String representation of the same field. But old values (old docs) won't have this new field populated.
HTH
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
can you please provide inputs to update the existing field type in the mapping.Below is the requirement.
I have crated contractIndex and it is type is conract. In that i have fields contractid as long, contract number as long but i want to change contract number type as string.
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.