# Exemple of query to retrieve matching data

**URL:** <https://discuss.elastic.co/t/exemple-of-query-to-retrieve-matching-data/179418>\
**Category:** Elasticsearch\
**Created:** [May 2, 2019, 5:46pm UTC](https://discuss.elastic.co/t/exemple-of-query-to-retrieve-matching-data/179418 "2019-05-02T17:46:09Z")\
**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, 5:46pm UTC](https://discuss.elastic.co/t/exemple-of-query-to-retrieve-matching-data/179418/1 "2019-05-02T17:46:09Z")

</div>

i want to retrieve the data and sentences from pdf indexed with fscrawler, how can i get the content from pdf that match a sentence, for example i want to retrieve the detai of the pdf (title, ...) and the paragraphe containing the matched sentence. i saw the sources queries in fscrawler site but that is not what i need  
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, 6:57pm UTC](https://discuss.elastic.co/t/exemple-of-query-to-retrieve-matching-data/179418/2 "2019-05-02T18:57:20Z")

</div>

Please stop opening multiple questions about the same topic. This is useless.

---

<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, 6:57pm UTC](https://discuss.elastic.co/t/exemple-of-query-to-retrieve-matching-data/179418/3 "2019-05-02T18:57:24Z")

</div>


