No Result on searching with long string/value

Hello,
I am facing a problem while searching the "topic name" with full length it returns no matching documents in elastic using Kibana UI, while it have these documents in it.

It have following mappings :

{
  "index" : {
    "mappings" : {
      "properties" : {
        "aya_no" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
        }
      }
    }

Then running:

GET index/_search?q="Receiving God’s forgiveness and mercy as a result of being killed or dying in the way of God is better than the wealth of the world"

It returns following results:

{
  "took" : 8,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
},
  "hits" : {
    "total" : {
      "value" : 0,
      "relation" : "eq"
},
    "max_score" : null,
    "hits" : [\*]
  }
}

Welcome!

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

Edited according to format. Please check & answer.

Please provide a way to reproduce the problem. Read again the link I shared. Thanks!

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