Hi,
This is something I have discovered is happening... if I have a long type
I can still store numbers such as 2, 4 and 1.2
Then when I retrieve the type is not long but string and float;(
In other words in Java when I examine my values I can have 2 (type long) ,
4 (type string) , 1.2 (type
Did you try to define a mapping for your field?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 1 août 2014 à 17:25:53, euneve...@gmail.com (euneve...@gmail.com) a écrit:
Hi,
This is something I have discovered is happening... if I have a long type I
okay so when I don't have a mapping and I do a GET _mapping it returns this:
{
test1: {
mappings: {
type2: {
properties: {
my_int: {
type: long
}
}
Is that not the same as having a mapping?
Then to check the theory I
The problem happens with java and python api when the typechecking throws
exceptions
For example when we use java to read the values mentioned :
test2/lll/1 my_int = 1 class java.lang.String
test2/lll/2 my_int = 2 class java.lang.Integer
test2/lll/3 my_int = 1.2 class java.lang.Double
*So you