Apache Solr

简介

Solr 扩展允许 PHP 与 Apache Solr 服务器进行有效通信。

Solr 扩展是极其快速、轻量级、功能丰富的库,允许 PHP 开发人员与 Solr 服务器实例进行有效通信。

PECL 扩展的 1.x 版本支持 Apache Solr Server 1.3-3.x

PECL 扩展的 2.x 版本支持 Apache Solr Server 4.0+

还有内置工具可以添加文档和更新 solr 服务器。

在搜索文档时,还有对服务器构建高级查询的工具。

添加备注

用户贡献的备注 2 notes

up
8
ASchmidt at Anamera dot net
6 years ago
This extension was last updated for PHP 7.1 three years ago.

As of this date, it has not been released for PHP 7.2 or PHP 7.3. In other words, it's not actively maintained.
up
3
Corentin Larose
13 years ago
Hello,

you have to use SolrQuery::addFilterQuery() instead of SolrQuery::addFacetQuery() which is intended for another goal.

SolrQuery::addFilterQuery() : fq
SolrQuery::addFacetQuery() : facet.query

Regards,

Corentin Larose - CTO@QAPA
To Top