# Return specific search results

**URL:** https://discuss.elastic.co/t/return-specific-search-results/269220
**Category:** Elasticsearch
**Created:** [April 5, 2021, 10:01am UTC](https://discuss.elastic.co/t/return-specific-search-results/269220 "2021-04-05T10:01:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jay\_Timbadia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jay_timbadia/32/86572_2.png) [@Jay\_Timbadia](https://discuss.elastic.co/u/Jay_Timbadia)
#### Post date: [April 5, 2021, 10:01am UTC](https://discuss.elastic.co/t/return-specific-search-results/269220/1 "2021-04-05T10:01:53Z")

</div>

I have these structures of my index.

```
{
        "_index" : "sentences",
        "_type" : "_doc",
        "_id" : "PHhYoXgBJv8cgfRDHSag",
        "_score" : 11.336952,
        "_source" : {
          "word" : "acacia",
          "sentence" : [
            "Acacia armata is the kangaroo-thorn of Australia, A.",
            "The acacia abounded on the borders of the valley, but the groves were gradually cut down for the use of the carpenter and the charcoal-burner.",
            "Two species of acacia are remarkable for the delicate and violet-like perfume of their wood - myall and yarran.",
            "The sunt tree (Acacia nhlolica) grows everywhere, as well as the tamarisk and the sycamore."]

```

}

When I search, using this query:  
GET sentences/\_search  
{  
"query": {  
"match": {  
"sentence": "carpenter"  
}  
}  
}

I am getting entire document, while I just want only that sentence which match which is  
"The acacia abounded on the borders of the valley, but the groves were gradually cut down for the use of the carpenter and the charcoal-burner.",  
and not the others in the list.

How can I acheive this?  
Please help!!

---

<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: [May 3, 2021, 10:02am UTC](https://discuss.elastic.co/t/return-specific-search-results/269220/2 "2021-05-03T10:02:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
