# Searching attachment content with ingest attachment plugin ES 5.2

**URL:** <https://discuss.elastic.co/t/searching-attachment-content-with-ingest-attachment-plugin-es-5-2/74617>\
**Category:** Elasticsearch\
**Created:** [February 10, 2017, 8:17am UTC](https://discuss.elastic.co/t/searching-attachment-content-with-ingest-attachment-plugin-es-5-2/74617 "2017-02-10T08:17:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [February 13, 2017, 11:40am UTC](https://discuss.elastic.co/t/searching-attachment-content-with-ingest-attachment-plugin-es-5-2/74617/6 "2017-02-13T11:40:49Z")

</div>

> If you provide a full recreation script it can be easier to help.

How can I replay what you are doing without a script?

As explained in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21), provide something like:

```auto
DELETE index
PUT index/type/1
{
  "foo": "bar"
}
GET index/type/_search
{
  "query": {
    "match": {
      "foo": "bar"
    }
  }
}

```

Please try with the minimal settings/mappings/content...  
If this forum rejects your post because of the number of characters, you can post your full script on [gist.github.com](http://gist.github.com) and paste the link here.

---

_[View the full topic](https://discuss.elastic.co/t/searching-attachment-content-with-ingest-attachment-plugin-es-5-2/74617)._
