# How to implement space ignored search across a document with multiple fields

**URL:** <https://discuss.elastic.co/t/how-to-implement-space-ignored-search-across-a-document-with-multiple-fields/309236>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 8, 2022, 11:04pm UTC](https://discuss.elastic.co/t/how-to-implement-space-ignored-search-across-a-document-with-multiple-fields/309236 "2022-07-08T23:04:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karan\_Bansal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karan_bansal/32/108106_2.png) [@Karan\_Bansal](https://discuss.elastic.co/u/Karan_Bansal)\
**Post date:** [July 8, 2022, 11:04pm UTC](https://discuss.elastic.co/t/how-to-implement-space-ignored-search-across-a-document-with-multiple-fields/309236/1 "2022-07-08T23:04:29Z")

</div>

I'm trying to implement a space agnostic product catalog search solution using Elasticsearch for a chemical oriented product database. I am using the word\_joiner with catenate\_all to join words, but when using multi\_match or combined\_fields query to search for a document on various fields, I am getting unexpected results since both these queries are requiring that the joined words provided by the search analyzer be present in at least one of the fields.

For more details please see my detailed scenario and question here

> <https://stackoverflow.com/questions/72917582/how-to-implement-space-ignored-search-across-a-document-with-multiple-fields-in>

---

<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:** [August 5, 2022, 11:05pm UTC](https://discuss.elastic.co/t/how-to-implement-space-ignored-search-across-a-document-with-multiple-fields/309236/2 "2022-08-05T23:05:08Z")

</div>

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