문제

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

도움이 되었습니까?

해결책

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" }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top