# Query to get content that match some value in pdf and text extraxcted from iamge

**URL:** <https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430>\
**Category:** Elasticsearch\
**Created:** [May 2, 2019, 7:26pm UTC](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430 "2019-05-02T19:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 2, 2019, 7:26pm UTC](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430/1 "2019-05-02T19:26:04Z")

</div>

i indexed my pdf files and images using fscrawler and tesseract-ocr aand now i can extract the text from image and display pdf file content on Kibana , my question is that i want to do query in kibana devtools interface to find the content matching o word pr a sentence in image and pdf can you give a real example of queries for that.  
example : get the content having the sentence "hello word" from image or pdf

thank you

---

<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:** [May 2, 2019, 7:51pm UTC](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430/2 "2019-05-02T19:51:36Z")

</div>

Let's keep the discussion in one place. I'm closing this thread.

---

<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:** [May 2, 2019, 7:51pm UTC](https://discuss.elastic.co/t/query-to-get-content-that-match-some-value-in-pdf-and-text-extraxcted-from-iamge/179430/3 "2019-05-02T19:51:38Z")

</div>


