I want to search with RegisterNumber and Title at the same time. But how can I match both at the same time? Also, when I press the space character, I cannot make calls after the space. How can I solve this? Currently searching by title but when I search with registernumber it doesn't see the records. Both are string types.
I tried to do it with a wildcard but I couldn't.
var searchResponse = eClient.Search<GlobalCompany>(s => s.Index(INDEX_NAME) .Query(q => q .MultiMatch(m => m .Fields(f => f .Field(u => u.Title) .Field(u => u.RegisterNumber)) .Type(TextQueryType.PhrasePrefix) .Query(value))));