Welcome to our community!
In future, it's super useful if you can provide a working example so that people can copy and paste to see if they get the same outcomes.
Hi warkolm,
Appreciate your time & support. Thank you very much.
Still peculiar though, was able to resolve it in a different way. i.e.
the mapping remained same i.e. type: 'integer' but the input document having values in string form "65000" or "95" instead of pure integer form of 65000/95 made to index them as integers and finally give it back in same string form "65000"/"95" though they are indexed as integers, and importantly without the decimal part ".0". However, when an integer is fed directly from input document as 65000/95 as pure integers and if the mapping type is integer then while indexing it is appending ".0" decimal part which is still peculiar for me. May be it is the way it works, not sure. Thanks anyway!
Hi Tomo,
I meant "Search response" as the resultant document after search. Case 1 output is something not expected, but Case 2 is acceptable as there is no modification of data type (i.e. addition of decimal part).
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.