# Attachement tutorial is not working

**URL:** <https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715>\
**Category:** Elasticsearch\
**Created:** [February 15, 2012, 12:51pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715 "2012-02-15T12:51:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alheim](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@alheim](https://discuss.elastic.co/u/alheim)\
**Post date:** [February 15, 2012, 12:51pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/1 "2012-02-15T12:51:00Z")

</div>

Hi,

I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.

I run the following script [https://gist.github.com/1075067](https://gist.github.com/1075067) and the search  
result is empty. No error during mapping creation or file indexation

Am I missing something during the installation ?

Thanks  
Alheim

---

<div class="post-metadata">

**Author:** ![alheim](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@alheim](https://discuss.elastic.co/u/alheim)\
**Post date:** [February 15, 2012, 3:51pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/2 "2012-02-15T15:51:15Z")

</div>

I've tried the same test on a linux box and it worked.  
Seems to be a macos issue.

Any idea ?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 15, 2012, 8:30pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/3 "2012-02-15T20:30:27Z")

</div>

Weird, I ran it on mac os x lion with the mentioned versions, and it seem to work… . How are you starting elasticsearch? (which command)?

On Wednesday, February 15, 2012 at 2:51 PM, Alexandre Heimburger wrote:

> Hi,
> 
> I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.
> 
> I run the following script [Test of attachments plugin · GitHub](https://gist.github.com/1075067) and the search result is empty. No error during mapping creation or file indexation
> 
> Am I missing something during the installation ?
> 
> Thanks  
> Alheim

---

<div class="post-metadata">

**Author:** ![Alexandre\_Heimburger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandre_heimburger/32/2941_2.png) [@Alexandre\_Heimburger](https://discuss.elastic.co/u/Alexandre_Heimburger)\
**Post date:** [February 16, 2012, 7:33am UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/4 "2012-02-16T07:33:21Z")

</div>

bin/elasticsearch -f

On Wed, Feb 15, 2012 at 9:30 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Weird, I ran it on mac os x lion with the mentioned versions, and it seem  
> to work… . How are you starting elasticsearch? (which command)?
> 
> On Wednesday, February 15, 2012 at 2:51 PM, Alexandre Heimburger wrote:
> 
> Hi,
> 
> I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.
> 
> I run the following script [Test of attachments plugin · GitHub](https://gist.github.com/1075067) and the search  
> result is empty. No error during mapping creation or file indexation
> 
> Am I missing something during the installation ?
> 
> Thanks  
> Alheim

--  
Cordialement,

Alexandre Heimburger

---

<div class="post-metadata">

**Author:** ![alheim](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@alheim](https://discuss.elastic.co/u/alheim)\
**Post date:** [February 21, 2012, 8:58am UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/5 "2012-02-21T08:58:13Z")

</div>

any update on this issue ? Still not working on my side. I'm running snow  
leopard.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 24, 2012, 1:12pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/6 "2012-02-24T13:12:36Z")

</div>

I haven't managed to recreate it… . Can someone else give it a go?

On Wednesday, February 15, 2012 at 2:51 PM, Alexandre Heimburger wrote:

> Hi,
> 
> I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.
> 
> I run the following script [Test of attachments plugin · GitHub](https://gist.github.com/1075067) and the search result is empty. No error during mapping creation or file indexation
> 
> Am I missing something during the installation ?
> 
> Thanks  
> Alheim

---

<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 24, 2012, 8:41pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/7 "2012-02-24T20:41:32Z")

</div>

Hi.

I just tried with ES 0.19.RC2 with 1.2.0 mapper-attachments plugin and I get the result.

{

"took" : 227,

"timed\_out" : false,

"\_shards" : {

```
"total" : 1,

"successful" : 1,

"failed" : 0

```

},

"hits" : {

```
"total" : 1,

"max_score" : 0.005872132,

"hits" : [ {

  "_index" : "test",

  "_type" : "attachment",

  "_id" : "_WmxCcRST9aP5wwT8uhDIw",

  "_score" : 0.005872132,

  "fields" : {

    "file.title" : "ISL99201"

  },

  "highlight" : {

    "file" : ["\nMono <em>Amplifier</em>\nThe ISL99201 is a fully integrated high efficiency class-D \nmono <em>amplifier</em>. It is designed"]

  }

} ]

```

}

}

HTH,

David.

De : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [[mailto:elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)] De la part de Shay Banon  
Envoyé : vendredi 24 février 2012 14:13  
À : [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
Objet : Re: Attachement tutorial is not working

I haven't managed to recreate it… . Can someone else give it a go?

On Wednesday, February 15, 2012 at 2:51 PM, Alexandre Heimburger wrote:

Hi,

I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.

I run the following script [https://gist.github.com/1075067](https://gist.github.com/1075067) and the search result is empty. No error during mapping creation or file indexation

Am I missing something during the installation ?

Thanks

Alheim

---

<div class="post-metadata">

**Author:** ![alheim](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@alheim](https://discuss.elastic.co/u/alheim)\
**Post date:** [February 25, 2012, 4:21pm UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/8 "2012-02-25T16:21:07Z")

</div>

Thanks for your time guys. Obviously something wrong on my laptop. Will try  
again and keep you posted.

On Fri, Feb 24, 2012 at 9:41 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Hi.\*\*\*\*
> 
> * * *
> 
> I just tried with ES 0.19.RC2 with 1.2.0 mapper-attachments plugin and I  
> get the result.\*\*\*\*
> 
> {\*\*\*\*
> 
> "took" : 227,\*\*\*\*
> 
> "timed\_out" : false,\*\*\*\*
> 
> "\_shards" : {\*\*\*\*
> 
> ```
> "total" : 1, ****
> 
> "successful" : 1, ****
> 
> "failed" : 0 ****
> 
> ```
> 
> },\*\*\*\*
> 
> "hits" : {\*\*\*\*
> 
> ```
> "total" : 1, ****
> 
> "max_score" : 0.005872132, ****
> 
> "hits" : [ { ****
> 
> "_index" : "test", ****
> 
> "_type" : "attachment", ****
> 
> "_id" : "_WmxCcRST9aP5wwT8uhDIw", ****
> 
> "_score" : 0.005872132, ****
> 
> "fields" : { ****
> 
> "file.title" : "ISL99201" ****
> 
> }, ****
> 
> "highlight" : { ****
> 
> "file" : [ "\nMono <em>Amplifier</em>\nThe ISL99201 is a fully
> 
> ```
> 
> integrated high efficiency class-D \nmono _amplifier_. It is  
> designed" ]\*\*\*\*
> 
> ```
> } ****
> 
> } ] ****
> 
> ```
> 
> }\*\*\*\*
> 
> }\*\*\*\*
> 
> * * *
> 
> HTH,\*\*\*\*
> 
> David. \*\*\*\*
> 
> * * *
> 
> _De :_ [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [mailto:  
> [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)] _De la part de_ Shay Banon  
> _Envoyé :_ vendredi 24 février 2012 14:13  
> _À :_ [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)  
> _Objet :_ Re: Attachement tutorial is not working\*\*\*\*
> 
> * * *
> 
> I haven't managed to recreate it… . Can someone else give it a go? \*\*\*\*
> 
> On Wednesday, February 15, 2012 at 2:51 PM, Alexandre Heimburger wrote:\*\*\*  
> \*
> 
> Hi,\*\*\*\*
> 
> * * *
> 
> I've installed the 1.1.0 mapper-attachments plugin on the 0.19 RC2 release.
> 
> * * *
> 
> * * *
> 
> I run the following script [Test of attachments plugin · GitHub](https://gist.github.com/1075067) and the search  
> result is empty. No error during mapping creation or file indexation\*\*\*\*
> 
> * * *
> 
> Am I missing something during the installation ?\*\*\*\*
> 
> * * *
> 
> Thanks\*\*\*\*
> 
> Alheim\*\*\*\*
> 
> * * *

## -- Alexandre Heimburger VP Engineering blueKiwi Software tel : +33687880997 email : [ahb@bluekiwi-software.com](mailto:ahb@bluekiwi-software.com) adress : 93 rue Vieille du Temple, 75003 Paris

blueKiwi is the innovation leader in Enterprise Social Software. Our  
solutions enable enterprises worldwide to engage and interact with their  
internal and external social networks in multiple business domains.  
blueKiwi has been consistently recognized by Gartner Inc. as a visionary  
provider since 2007.

---

<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 6, 2017, 3:38am UTC](https://discuss.elastic.co/t/attachement-tutorial-is-not-working/6715/9 "2017-07-06T03:38:19Z")

</div>


