# What's the best way to create the combined fields in Elastic Search?

**URL:** <https://discuss.elastic.co/t/whats-the-best-way-to-create-the-combined-fields-in-elastic-search/350843>\
**Category:** Elasticsearch\
**Tags:** runtime-fields\
**Created:** [January 11, 2024, 10:02am UTC](https://discuss.elastic.co/t/whats-the-best-way-to-create-the-combined-fields-in-elastic-search/350843 "2024-01-11T10:02:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nomerator](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@Nomerator](https://discuss.elastic.co/u/Nomerator)\
**Post date:** [January 11, 2024, 10:02am UTC](https://discuss.elastic.co/t/whats-the-best-way-to-create-the-combined-fields-in-elastic-search/350843/1 "2024-01-11T10:02:49Z")

</div>

For example, I have fields `street`, `city`, `state`, `continent`, `planet`.

There is situation when I should search by combination of two fields `street` and `city`, and there is situation when I should search by combination of all fields: `street`, `city`, `state`, `continent`, `planet`.

The search should be fuzzy, support morphology and etc.

I can store only two fields `short_address` and `full_address`, but index become inadequate heavy in this case, so I assume there should be way to use the fact, that that fields are only the combination of same fields.

What I have tried:

1. Runtime fields. A runtime field don't support the type `text` only `keyword`.
2. Combined fields. A combined field don't support fuzziness.

---

<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:** [February 8, 2024, 10:02am UTC](https://discuss.elastic.co/t/whats-the-best-way-to-create-the-combined-fields-in-elastic-search/350843/2 "2024-02-08T10:02:52Z")

</div>

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