2

Due to AWS migration I have to migrate from ElasticSearch to OpenSearch. The OpenSearch will be provisioned by AWS OpenSearch Service.

The existing documents in ES index has parent/child relationship created using join field type. I don't see such mapping type in the OpenSearch documentation.

Question: How can I define parent/child relationship in OpenSearch?

UPDATED: The currently used ES version is 6.8. As for migration, the preference is to use the latest OpenSearch version.

Hutsul
  • 1,535
  • 4
  • 31
  • 51

1 Answers1

1

It's not in the documentation, but there's code related to join field type, e.g. ParentJoinFieldMapperTests.java, so I think it's there for you to try.

qaziqarta
  • 1,782
  • 1
  • 4
  • 11
  • Indeed, I started doing a quick POC and was able to create an index with a field of `join type` – Hutsul Aug 11 '22 at 08:29