Hi there. I have a document type that contains a lot of self-similar data. Here's a little sample to give you an idea:
Root:
Motif:
Motif Properties
Array of sectionInfo
Children(motif):
Motif Properties
Array of sectionInfo
Other motifs
Other root properties
So... I hope that makes sense. I can include some sample documents if needed, but they're pretty big and complicated. The two mappings that will come up often are motif and sectionInfo, which are classes in my program.
My question is whether the motif object should be a nested type. The documentation said something about nested objects being stored as separate documents, but since the structure doesn't mirror the structure of the whole document, I'm not sure that's what I want.
My other thought was to just make a variable in my mapping setup script to represent those structures and reuse wherever needed. This still doesn't solve the problem if the motif having children who have children, etc.
Thanks.
--
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.