A question with wildcardQuery

I saw concept of wildcard,the document gives an example that: query two phrase "W1F 7HW" and "W2F 8HW" can use this { "wildcard": { "postcode": "W?F*HW" }}.
i have a field names "company" it is not analyzed, values "HAPPY LOGISTICS",
when i use wildcardQuery(company, "*"+"PPY LOGIS"+"*"); it can not find the doc, Why is this?

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