0

I am getting a response if I search the details using wildCard characters in the elastic search for fieldMatch.Is this as expected?

user2706205
  • 11
  • 1
  • 4

1 Answers1

1

Field queries are a version of query_string queries, which support using * and ? as wildcards. So, it is expected that the following will return results for "elasticsearch".

{
    "field" : { "engine" : "elastic*ch" }
}

{
    "field" : { "engine" : "elasticsea?ch" }
}
Scott Rice
  • 2,430
  • 22
  • 18