# Global Search in Elastic Search

**URL:** <https://discuss.elastic.co/t/global-search-in-elastic-search/165331>\
**Category:** Elasticsearch\
**Created:** [January 23, 2019, 4:53am UTC](https://discuss.elastic.co/t/global-search-in-elastic-search/165331 "2019-01-23T04:53:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irvine456](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Irvine456](https://discuss.elastic.co/u/Irvine456)\
**Post date:** [January 23, 2019, 4:53am UTC](https://discuss.elastic.co/t/global-search-in-elastic-search/165331/1 "2019-01-23T04:53:08Z")

</div>

Working on Elasticsearch, my use case is very straight forward. When a user types in a search box I want to search all of my data set irrespective of field or column or any condition (search all data and provide all occurrences of searched word in documents [ifacetimeapp](https://ifacetimeapp.com/)). This might be available in their documentation but I'm not able to understand it.  
Can somebody explain on this?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 23, 2019, 7:02am UTC](https://discuss.elastic.co/t/global-search-in-elastic-search/165331/2 "2019-01-23T07:02:40Z")

</div>

You probably wanted the old `_all` field. Take a look at [`copy_to`](https://www.elastic.co/guide/en/elasticsearch/reference/6.5/copy-to.html) instead.

> [@Irvine456](#):
>
> search all data and provide all occurrences of searched word in documents

That's probably not a great idea. What if they get a million results?

---

<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 20, 2019, 7:02am UTC](https://discuss.elastic.co/t/global-search-in-elastic-search/165331/3 "2019-02-20T07:02:47Z")

</div>

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