Hello guyz,
I'm trying to map a dynamic dictionary and i'm having problems with some keys.
Picture this example.
"systemvariables":{
"windows.user.home":"C:\Users\someuser",
"windows.user.home.desktop":"C:\Users\someuser\Desktop",
"windows.user.home.document":"C:\Users\someuser\Documents"
}
I get this error "Can't merge a non object mapping [buildvariables.windows.user.home] with an object mapping [buildvariables.windows.user.home]" because Elasticsearch is spliting my keys by the dots and indexing them hierarchically.
Meaning the first key:value pair is index as "text" but the second is mapped as an "object".
Is there a way to disable this behavior? Or a way to escape the dot character instead of a simple replace for "_"?
Thanks,