How match indexof in query?

i've used this

GET /myindex/_search
{
 "query": {
     "match_phrase_prefix": {
       "message": "my text*"
     }
  }
}

but not have results i' ve always

#! Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.
{
  "took" : 0,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 0,
      "relation" : "eq"
    },
    "max_score" : null,
    "hits" : [ ]
  }
}

Hi @Nikolas1306

Which document do you want to get in the results?

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