【问题标题】:Faceted Search With NEST使用 NEST 进行分面搜索
【发布时间】:2021-05-12 00:27:12
【问题描述】:

我打算使用 Elasticsearch 客户端 NEST 的分面搜索功能。不幸的是,似乎版本 2 引入了许多重大更改。特别是,消除与分面搜索相关的所有功能。除了使用 Elasticsearch 的原始 JSON API 之外,还有其他方法可以使用该功能吗?

https://www.elastic.co/guide/en/app-search/current/facets.html

【问题讨论】:

  • 从 Elasticsearch 1.0 开始,Facets 被 Aggregations 取代

标签: c# .net elasticsearch .net-core nest


【解决方案1】:

我在 github 上发现了一个问题,可以解决问题。 elasticsearch 中不再提供 facets 功能。

自 Elasticsearch 1.0 以来,Facets 已被 Aggregations 取代

https://github.com/elastic/elasticsearch-php/issues/1060#issuecomment-702038638

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-30
    • 1970-01-01
    相关资源
    最近更新 更多