开发者

Which is the better client for Solr + PHP?

开发者 https://www.devze.com 2022-12-13 09:52 出处:网络
I have tw开发者_运维技巧o options http://www.php.net/manual/en/book.solr.php http://code.google.com/p/solr-php-client/

I have tw开发者_运维技巧o options

  1. http://www.php.net/manual/en/book.solr.php
  2. http://code.google.com/p/solr-php-client/

I read it somewhere that that 2) use JSON as output types whereas 1) use XML doc.

  1. Isn't that a property of Solr which returns doc both in JSON and XML?
  2. What other features do I have to consider before deciding?


So, I would actually recommend the other option, http://code.google.com/p/solr-php-client/ because it is the core PHP library used by the Drupal Solr plugin.

I think, like so many things, YMMV (Your Milage May Vary). Looks like you may have had your question answered here: Useful Thread


I have used the PECL Solr PHP extension and it worked nicely.

I'm considering using Solarium, because - while it is framework agnostic - it seams easy to integrate it in a Zend Framework project.

0

精彩评论

暂无评论...
验证码 换一张
取 消