[Feature Request] allow field names with dots in the name #11749
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing & Search
Indexing
Indexing, Bulk Indexing and anything related to indexing
Search:Query Capabilities
Is your feature request related to a problem? Please describe
sometimes we need to index documents where the field names contain dots but shouldn't be turned into subobjects (e.g.
foo.bar
should stayfoo.bar
and not become a fieldfoo
containing a nested fieldbar
).this is esp. relevant when there's a second field which contains part of the path of the other (e.g. here
foo
) which then wouldn't work.Describe the solution you'd like
it must be possible to define that some fields should not be evaluated as subobjects.
Related component
Indexing
Describe alternatives you've considered
one workaround is to append a custom suffix to the fields which should (hopefully) not be part of the path of others, e.g. instead of
foo
andfoo.bar
one could usefoo_x
andfoo.bar_x
(thus avoiding the name collision withfoo
).Additional context
Elasticsearch introduced the possibility to define
"subobjects": false
in ES 8.xThe text was updated successfully, but these errors were encountered: