Drupal 7 Search API,Elasticsearch Connector,Aggregation / Facets

时间:2016-01-16 08:35:52

标签: search elasticsearch drupal-7 drupal-modules aggregation

我在Drupal 7网站上使用Search APIElasticsearch Connector。我在AWS中托管了elasticsearch。搜索工作完美无任何问题。但我想在Drupal.org搜索结果页面中添加facetapi过滤器。

enter image description here

似乎facetapi已从elasticsearch中删除,并添加了对聚合的支持。 https://www.elastic.co/guide/en/elasticsearch/reference/2.1/breaking_20_removed_features.html#_facets_have_been_removed

https://www.elastic.co/guide/en/elasticsearch/reference/1.3/search-aggregations.html

但即使是聚合也不完全支持。

https://www.drupal.org/node/2643822

https://www.drupal.org/node/2503343

任何建议或想法我如何实现这一目标?还有其他方式或我在这里遗漏了什么吗?

1 个答案:

答案 0 :(得分:0)

耶。 使用 https://www.drupal.org/project/elasticsearch_connector

并使用elasticsearch版本1.x. Elasticsearch 2.x在Dev中。