# Find the fields that matched the keyword

**URL:** <https://discuss.elastic.co/t/find-the-fields-that-matched-the-keyword/84590>\
**Category:** Elasticsearch\
**Created:** [May 4, 2017, 3:33pm UTC](https://discuss.elastic.co/t/find-the-fields-that-matched-the-keyword/84590 "2017-05-04T15:33:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shakunvohra](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@shakunvohra](https://discuss.elastic.co/u/shakunvohra)\
**Post date:** [May 4, 2017, 3:33pm UTC](https://discuss.elastic.co/t/find-the-fields-that-matched-the-keyword/84590/1 "2017-05-04T15:33:27Z")

</div>

Hi All,

I'm trying to find what fields were matched for a particular keyword using the query\_string query with a set number of fields.  
The use case is we have a detail page with tabs and sections and each field belongs to a particular section and we want to show in the search results that the following sections / tabs were qualified based on the keyword.

Thanks,  
Shakun

---

<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:** [June 1, 2017, 3:44pm UTC](https://discuss.elastic.co/t/find-the-fields-that-matched-the-keyword/84590/2 "2017-06-01T15:44:50Z")

</div>

Closed on June 1, 2017, 3:44pm UTC

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