问题
I wrote the following query to check multiple fields from a value and it's work:
var searchResponse = client.Search<Document>(s => s
.Query(q => q
.MultiMatch(a => a
.Fields(f => f
.Field(p => p.Attachment.Content)
.Field(p => p.FileName))
.Query(queryValue))));
I would achieve the same result (search the queryValue in fields Attachment.Content and FileName) but with the Fuzzy mechanism (for example, if queryValue is "esting" I would get back also a result with filename "testing").
Thanks a lot! C# netCore 3.1
来源:https://stackoverflow.com/questions/62893856/multimatch-query-with-fuzzy-nest-elasticsearch