# Treating multiword phrases as one

**URL:** <https://discuss.elastic.co/t/treating-multiword-phrases-as-one/73254>\
**Category:** Elasticsearch\
**Created:** [January 30, 2017, 5:36pm UTC](https://discuss.elastic.co/t/treating-multiword-phrases-as-one/73254 "2017-01-30T17:36:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![herix](https://avatars.discourse-cdn.com/v4/letter/h/8dc957/32.png) [@herix](https://discuss.elastic.co/u/herix)\
**Post date:** [January 30, 2017, 5:36pm UTC](https://discuss.elastic.co/t/treating-multiword-phrases-as-one/73254/1 "2017-01-30T17:36:19Z")

</div>

I would like to know how I can achieve treating multiword fields as one in some scenarios. Specifically, I want to treat phrases such as "swim suit" and "swimsuit" exactly the same way. Currently we are using synonyms for that. But I wonder if there's a better way to handle this. Can I accomplish this using phrase\_query without affecting relevance? What are some best practices for this configuration?

---

<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 27, 2017, 5:36pm UTC](https://discuss.elastic.co/t/treating-multiword-phrases-as-one/73254/2 "2017-02-27T17:36:29Z")

</div>

Closed on February 27, 2017, 5:36pm UTC

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