Frage

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

War es hilfreich?

Lösung

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" }
}
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top