我有用NEST(c#)编写的percolate函数。我想启用突出显示功能但不起作用。渗滤器工作正常,但突出显示没有返回任何东西,在NEST文档中没有发现任何东西。任何帮助非常感谢。 var searchResponseDoc = client.Search<PercolatedQuery>(s => s
.Query(q => q
.Percolate(f => f
试图让批量渗透功能适用于Elasticsearch-py(即mpercolate),但一直未能在线找到示例。我能够使用渗滤液功能,这样我就可以得到这个工作: doc = {'doc' : {'field1' : 'this is a value', 'field2' : 'this is another value'}}
res = es.percolate(index = 'my_index'