# Model a Master Detail Relationship

**URL:** <https://discuss.elastic.co/t/model-a-master-detail-relationship/212380>\
**Category:** Elasticsearch\
**Created:** [December 18, 2019, 6:07pm UTC](https://discuss.elastic.co/t/model-a-master-detail-relationship/212380 "2019-12-18T18:07:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luisg/32/59651_2.png) [@luisg](https://discuss.elastic.co/u/luisg)\
**Post date:** [December 18, 2019, 6:07pm UTC](https://discuss.elastic.co/t/model-a-master-detail-relationship/212380/1 "2019-12-18T18:07:52Z")

</div>

Hello, I'm new to ELK, can someone shed light on alternatives for modeling master detail relationships?

I'm trying to use Elastic and/or Appsearch for a proof of concept where a user can search the nearest doctor's office that will accept user's health insurance.

I.e a doctor has many locations, a location has many insurance plans

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 15, 2020, 6:07pm UTC](https://discuss.elastic.co/t/model-a-master-detail-relationship/212380/2 "2020-01-15T18:07:53Z")

</div>

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