# Full text search

**URL:** <https://discuss.elastic.co/t/full-text-search/88510>\
**Category:** Elasticsearch\
**Created:** [June 7, 2017, 6:45am UTC](https://discuss.elastic.co/t/full-text-search/88510 "2017-06-07T06:45:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Post date:** [June 7, 2017, 6:45am UTC](https://discuss.elastic.co/t/full-text-search/88510/1 "2017-06-07T06:45:33Z")

</div>

I want to search the \_all field.

My mapping is something like this:

```
 "mappings": {
      "event":{
        "properties": {
           "code": {
              "type": "long"
           },
           "description": {
              "type": "text", 
              "index": "no",
              "include_in_all": true
           }
       }
 }

```

}

I create a document with code:1 and description: "desc".  
I am running this query but no results:

```
  POST /events8/events/_search
   {
"query": { 
 "bool" : {
"must" : [
  {
    "fuzzy" : {
      "_all" : {
        "value" : "desc",
        "fuzziness" : "2",
        "prefix_length" : 0,
        "max_expansions" : 50,
        "transpositions" : false,
        "boost" : 1.0
      }
    }
  }
],
"disable_coord" : false,
"adjust_pure_negative" : true,
"boost" : 1.0
  }
 }
}

```

Can't I search the \_all field for non indexed fields? I am pretty sure, it worked for me on 5.3.1 and 5.0 but now on 5.4.1 it's not... any related changes?

---

<div class="post-metadata">

**Author:** ![Alex\_Davidovich](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Alex\_Davidovich](https://discuss.elastic.co/u/Alex_Davidovich)\
**Post date:** [June 11, 2017, 6:19am UTC](https://discuss.elastic.co/t/full-text-search/88510/2 "2017-06-11T06:19:26Z")

</div>

anyone? please...

---

<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:** [June 11, 2017, 6:57am UTC](https://discuss.elastic.co/t/full-text-search/88510/3 "2017-06-11T06:57:34Z")

</div>

You cannot search non-indexed fields, that is what that setting implies - [https://www.elastic.co/guide/en/elasticsearch/reference/5.4/mapping-index.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/mapping-index.html)

---

<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:** [July 9, 2017, 6:57am UTC](https://discuss.elastic.co/t/full-text-search/88510/4 "2017-07-09T06:57:37Z")

</div>

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