Inconsistent results when mixing fieldname: { fieldname: {
and fieldname.fieldname
for mapping and indexing
#5972
Labels
The handling of objects in a mapping seems inconsistent. When adding fields with dots, for example
afield.number
, then, when indexing a documentthe type of
"afield": { "number":
is found correctly, but a second mapping for the object is added. This happens even if the indexing operation fails in case the type of"afield": { "number":
does not correspond with"afield.number"
as defined in the mapping.An example is here: https://gist.github.com/brwe/11394327
There are two issue with this:
The text was updated successfully, but these errors were encountered: