Asd___

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": {}

You have spaces in your fields in the _source.

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

1 Like