I'm trying to execute a query on multi fields but also using a wildcard in the MobileNumber, basically, if a mobile number is for example 3530831112233 if I search by 831122 I want to return this record. This is what I have done so far.
var response = await this.client.SearchAsync<ElasticCustomer>(searchDescriptor => searchDescriptor
.AllTypes()
.Query(q => q
.MultiMatch(m => m
.Fields(f => f
.Field(u => u.CustomerName)
.Field(u => u.MobileNumber))
.Query(query)))
.Size(pageSize)
.Sort(q => q.Descending(u => u.CustomerLastUpdated)));