# Search specific field in elastic search

**URL:** <https://discuss.elastic.co/t/search-specific-field-in-elastic-search/103807>\
**Category:** Elasticsearch\
**Created:** [October 13, 2017, 2:32am UTC](https://discuss.elastic.co/t/search-specific-field-in-elastic-search/103807 "2017-10-13T02:32:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 13, 2017, 6:45am UTC](https://discuss.elastic.co/t/search-specific-field-in-elastic-search/103807/2 "2017-10-13T06:45:54Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Don't paste images if not useful. Better to paste the full error in your case so it's searchable.

The short answer is that you probably should use a bool query and should or must or filter clauses.

But I don't understand the model here TBH. What are you searching for? This group of persons or just individuals?

If the later, then index them one by one. One person per document.  
Then if you just want to GET by id a person run:

```
GET person/doc/1

```

And you're done.

---

_[View the full topic](https://discuss.elastic.co/t/search-specific-field-in-elastic-search/103807)._
