# Elasticsearch mapping

**URL:** <https://forum.shopware.com/t/elasticsearch-mapping/87672>\
**Category:** Shopware 5\
**Created:** [14. Mai 2021 um 15:46 UTC](https://forum.shopware.com/t/elasticsearch-mapping/87672 "2021-05-14T15:46:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrian.hishow](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@adrian.hishow](https://forum.shopware.com/u/adrian.hishow)\
**Post date:** [14. Mai 2021 um 15:46 UTC](https://forum.shopware.com/t/elasticsearch-mapping/87672/1 "2021-05-14T15:46:40Z")

</div>

Hi

ich möchte das von sw generierte elasticsearch mapping ändern. Kann mir jemand zeigen wo dieses mapping generiert wird? Es müsste in etwa der Form

```
$map = ['index' => 'blog',
        'body' => [
            'mappings' => [
                'article' => [
                    'properties' => [
                        'id' => [
                            'type' => 'integer'
                        ],
                        'article_name' => [
                            'type' => 'string'
                        ],
                        'article_content' => [
                            'type' => 'string'
                        ],
                        'article_url' => [
                            'type' => 'string'

```

sein. Wir möchten das mapping verändern weil wir die Indexierung und die Suche für unsere Zwecke indivdualisieren möchten .

VG  
Adrian
