# Asd\_\_\_

**URL:** <https://discuss.elastic.co/t/asd/192696>\
**Category:** Elasticsearch\
**Created:** [July 29, 2019, 12:39pm UTC](https://discuss.elastic.co/t/asd/192696 "2019-07-29T12:39:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon20829737](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@anon20829737](https://discuss.elastic.co/u/anon20829737)\
**Post date:** [July 29, 2019, 12:39pm UTC](https://discuss.elastic.co/t/asd/192696/1 "2019-07-29T12:39:33Z")

</div>

I have two situations:  
**situation\_1:**  
_When input is "\_source" but not getting any output from ES_

```
    asdddddddddda

```

adsa  
dda  
ad  
as  
das  
d  
a  
d  
sa

**And I get the required the results from ES:**

```
{
  "took": 5,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 3,
    "max_score": 1.000008,
    "hits": [
      {
       "_score": 1.000008,
        "_source": {}
```

---

<div class="post-metadata">

**Author:** ![roman731](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@roman731](https://discuss.elastic.co/u/roman731)\
**Post date:** [July 29, 2019, 2:27pm UTC](https://discuss.elastic.co/t/asd/192696/3 "2019-07-29T14:27:09Z")

</div>

You have spaces in your fields in the \_source.

Can you try changing `"_source": [" coreid ", " program_id "]`  
to this: `"_source": ["coreid", "program_id"]`

---

<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:** [August 26, 2019, 2:59pm UTC](https://discuss.elastic.co/t/asd/192696/5 "2019-08-26T14:59:21Z")

</div>

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