# Need help designing index & mapping (Great Type Refactoring)

**URL:** <https://discuss.elastic.co/t/need-help-designing-index-mapping-great-type-refactoring/221172>\
**Category:** Elasticsearch\
**Created:** [February 27, 2020, 8:26am UTC](https://discuss.elastic.co/t/need-help-designing-index-mapping-great-type-refactoring/221172 "2020-02-27T08:26:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swarnkar](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@swarnkar](https://discuss.elastic.co/u/swarnkar)\
**Post date:** [February 27, 2020, 8:26am UTC](https://discuss.elastic.co/t/need-help-designing-index-mapping-great-type-refactoring/221172/1 "2020-02-27T08:26:40Z")

</div>

Hello there,

I have multiple data series which are inter-related, I am not sure how to logically club this and design index and mapping for below:

```
    application-name=Cloobar
      series-1: webtraffic with fields {count, response time}
      series-2: visists with fields { username, ip, ..}
      series-3: transactions with fileds {name, count, response, percentile..}

    application-name=Foobar
      series-1: webtraffic with fields {count, response time}
      series-2: visists with fields { username, ip, ..}
      series-3: transactions with fileds {name, count, response, percentile..}
      series-4: somethings...

```

I wanted to have index created for each application and club the series under indexes as types. But as of ES-7.x, this is deprecated. Then how can i do this?

regards,  
Rajesh

---

<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:** [March 26, 2020, 8:26am UTC](https://discuss.elastic.co/t/need-help-designing-index-mapping-great-type-refactoring/221172/2 "2020-03-26T08:26:48Z")

</div>

Closed on March 26, 2020, 8:26am UTC

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