I have this code in my .net core app
var searchResponse = client.Search<Person>(s => s .From(0) .Size(10) .Query(q => q .Match(m => m .Field(f => f.FirstName) .Query("Martijn") ) )
which I got from this page https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/nest-getting-started.html
I'm getting an error at design time "Cannot convert lambda expression to type 'PostData' because it is not a delegate type". I have referenced Elasticsearch and System.Linq.
What am I missing?