In the documentation of php-Apache Solr PHP extension, it is mentioned that "It is compatible with both versions 1.3 and 1.4 of Apache Solr." Does this mean that it isn't compatible with the newer versions?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
UPDATE: PECL Apache Solr extension 2.0.0b is now available at http://pecl.php.net/package/solr
The 2.x series are only for Apache Solr 4.x
Well, There are several incompatibilities with Solr Server 4.0 like commit/optimize parameters have changed + other incompatibilities. We are working on PECL Solr 2.0.0 for Solr 4+ @ https://github.com/php/pecl-search_engine-solr
It will be out soon, just need to update the documentation.
回答2:
Yes It works. I am using solr with php5. you can check this link and install as given in document