# Index architecture

**URL:** <https://discuss.elastic.co/t/index-architecture/275937>\
**Category:** Elasticsearch\
**Created:** [June 15, 2021, 5:39am UTC](https://discuss.elastic.co/t/index-architecture/275937 "2021-06-15T05:39:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![silvafa](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@silvafa](https://discuss.elastic.co/u/silvafa)\
**Post date:** [June 15, 2021, 5:39am UTC](https://discuss.elastic.co/t/index-architecture/275937/1 "2021-06-15T05:39:33Z")

</div>

Hello,

So I'm trying to build an index, and I'm struggling with the approach to follow.  
I have an entity "person" with some related information. That person can have multiple name, like name variations, etc. Something like:

```auto
person: {
  id: '1234'
  names: [{name: 'foobar'}, name: 'foobaz']
}

```

When querying the index, I want to know which name matches the query, based on score.  
Is this a denormalization approach scenario? And if so, I would I do this?

---

<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:** [July 13, 2021, 5:40am UTC](https://discuss.elastic.co/t/index-architecture/275937/2 "2021-07-13T05:40:26Z")

</div>

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