General Hierarchical Document Advice

(Dave Russell) #1

I'm trying to index relational data directly into ElasticSearch. As part of my index creation I am trying to prevent the unnecessary duplication that backreferences (eg OrderLine > Order > Customer > Orders > Order > Orderline) cause by adding IGNOREs to the mappings.

I have defined in the connection settings DefaultMappings for the main document I'm indexing and each of the nested classes inside my main document. In these I am declaring multiple fields to IGNORE.....But all these fields are still included in my index metadata when they form part of the document hierarchy?

How do I tell ES to ignore these related entities in a hierarchical document being indexed?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.