Syntax of Elastic.Clients.Elasticsearch

I can find a lot of examples for Elastic 8.2 'NEST' namespace, but nothing for the new 'Elastic.Clients.Elasticsearch' namespace.

For example, this code works, but how to add the second field 'name'. Nothing seems to work. When I use NEST, everything works as it used to/as expected. Who knows how I can add a second field for searching on 'multimatch' for the new 'Elastic.Clients.Elasticsearch' namespace.

            var searchResults3 = client
                .Search<Models.Ad>(s => s
                    .Query(q => q
                        .MultiMatch(m => m
                            .Query("a1242286350").Fields(f => f.Description)
                        )
                    )
                );

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