I have indexed set of documents having multiple attributes having data type
as String. For some attributes value is passed as 13.0 but stored as
string. when i perform the range query operation on such attributes, values
are getting converted into asci format.
e.g if search range values specified as 1.0 to 3.0 documents having value
as 13.0 is also getting fetched. I know it is mistake as my end. Is there
way to update the field data type from String to Double. I tried updating
the attribute data with double value but still results are coming. Is it
like whatever data type has been set initially, there is no support to
change the data type afterwards. Is there workaround for this issue.
I have indexed set of documents having multiple attributes having data
type as String. For some attributes value is passed as 13.0 but stored as
string. when i perform the range query operation on such attributes, values
are getting converted into asci format.
e.g if search range values specified as 1.0 to 3.0 documents having value
as 13.0 is also getting fetched. I know it is mistake as my end. Is there
way to update the field data type from String to Double. I tried updating
the attribute data with double value but still results are coming. Is it
like whatever data type has been set initially, there is no support to
change the data type afterwards. Is there workaround for this issue.
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.