Hi all,
I have a specific question about mapping definitions that I think will help
with my understanding of mapping more generally. Suppose I have a document
that looks something like the following:
{
"doc" : {
"nested_map": {
"key1": { /* obj1 / },
"key2": { / obj2 */ },
...
},
// Other fields...
}
}
Suppose further that the key space for the nested_map is dynamic /
potentially unbounded (and isn't necessarily "nicely" named, such as
matchable by a regex), but the corresponding values all have the same
structure. I'd like to provide a mapping definition that tightly controls
the interpretation of those values (eg, obj1, obj2). How do I do so, given
that the actual field names for those objects are unknown?
Intuitively, I want to say something along the lines of "all fields of any
name in this (non-root) object should get the same object mapping." What is
the best way to express that?
Thanks very much,
Carl
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.