# Unable to Find Document, Searching Contents - Mapper Attachments Plugin

**URL:** https://discuss.elastic.co/t/unable-to-find-document-searching-contents-mapper-attachments-plugin/48500
**Category:** Elasticsearch
**Created:** [April 27, 2016, 3:11am UTC](https://discuss.elastic.co/t/unable-to-find-document-searching-contents-mapper-attachments-plugin/48500 "2016-04-27T03:11:44Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Gui\_Keller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gui_keller/32/9431_2.png) [@Gui\_Keller](https://discuss.elastic.co/u/Gui_Keller)
#### Post date: [May 2, 2016, 12:03am UTC](https://discuss.elastic.co/t/unable-to-find-document-searching-contents-mapper-attachments-plugin/48500/11 "2016-05-02T00:03:05Z")

</div>

Hi David,

I have given a go using ES-2.0.2 and ES-ATT-3.0.4 and all types that are on my wish list worked fine 😄  
Only exception is the Image OCR text extraction that I didn't manage to get going.

According to this post ES-1.7.2 with ES-ATT-2.7.1 is capable of doing the Image OCR text extraction:

> [@Configure attachment mapper to use OCR plugin](https://discuss.elastic.co/t/configure-attachment-mapper-to-use-ocr-plugin/32820/7):
>
> Hi, this is Subhadip, Waheed's teammate. I was able to find a work around for ES 1.7.2 with elastic mapper attachments 2.7.1 as recommended. Our original installation was in /usr/local/share directory which falls under superuser access. Although, mapper-attachments, and hence Tika worked absolutely fine with it, tesseract didn't work. I tried to track the logs but I couldn't really find anything promising. So just for kicks, I tried the installation in the local user directory, and Voila! It …

However, there is some fiddling around that needs doing to get tika / tesseract working fine (adjusting permissions from what I understood) - it would be great to have a 'how to' on that. Also, from the looks of it I can't use tika / tesseract and ES-2.x due to security measures / limitations 😩

I have found this Java Lib (OCR) that seems to do _some_ of the job::  
[https://github.com/axet/lookup](https://github.com/axet/lookup)  
Perhaps you guys could fork it and improve..

Anyways, thanks! 😃

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-find-document-searching-contents-mapper-attachments-plugin/48500)._
