使用Filter_Path减少从Elasticsearch返回的元数据时,出现以下错误:
: 'Method not found: 'Elasticsearch.Net.Search RequestParameters Elasticsearch.Net.Search RequestParameters.Filter Path(System.String)'.'
var respones = client.Search<dynamic>(s => s
.FilterPath("hits.hits._source")
.Index(Indices.Index(indices))
.Query(q => q.Bool(b => b.Must(mustQueries.ToArray()).Must(shouldQueries.ToArray()))).Source(o => source)
.Size(10000)
.AllTypes());
任何想法如何使用它?