-
Solarium 3
03-01-2013 1 CommentA new major version of Solarium (3.0.0) is out! This is the biggest changeset for Solarium since the start of the project, and includes the following: Support only PHP 5.3+ Fully namespaced File restructuring and class renaming Code style switched from Zend Framework 1 to Symfony 2 (but Solarium is still not tied to a [...]
Read more -
Benchmarking PHP Solr response data handling
28-02-2012 1 CommentSolr supports multiple output formats. Some are for general use (xml, json) and some are even language specific. If you’re using PHP these are the most logical response writer formats: xml json phps (serialized php) php (php code to execute) On top of that PHP offers multiple ways to parse XML. I’m benchmarking these options [...]
Read more -
Solr delay component
04-01-2012 1 CommentFirst of all, why would you want to slow Solr down? After all, it’s great speed is one of the main reasons it’s become so popular. Well, I need to slow Solr down for testing load balancing timeouts / failover and to test parallel execution. Both are hard to do with response times well below [...]
Read more -
Solr select query GET vs POST request
22-12-2011 3 CommentsIn most cases a GET request is used to send select queries to Solr. This is how it’s done in most examples, it’s easy to test in the browser and easy to implement. However, Solr also supports POST requests for select queries. This can for instance be useful if you use complex Solr queries with [...]
Read more -
Solarium 2.0
06-05-2011 11 CommentsSeveral weeks ago Solarium 1.0 was released. Since then lots of development has been going on. Many features were added: MoreLikeThis support, range facet, multiQuery facet, DisMax support, geospatial search support and highlighting. The target for these features was originally Solarium 1.1, however I’ve changed the plans. In this post I’ll explain why, and what [...]
Read more -
What features would you like to get in Solarium?
08-04-2011 Add a commentSolarium is quite a young project, and there are still a lot of features to add. The project has been gaining some interest recently and I would really like to know which features are most wanted. So, I’ve created a poll. The most requested features will be placed at the top of the roadmap.
Read more -
Solr update performance
08-04-2011 1 CommentWhen I started working with Solr I issued updates just like I was used to do with databases: a single command followed by a commit. Later I discovered this was far from optimal, and started using different update strategies. To demonstrate the differences I’ve done some simple benchmarks with three different update strategies, and as [...]
Read more -
Solarium PHP Solr client
09-03-2011 2 CommentsI’ve worked on a lot of Solr implementations in PHP applications. There are multiple solutions: manual HTTP requests, the solr-php-client library, custom implementations etcetera. However they all have one issue in common: they only handle the communication with Solr, many other important parts like query building are not covered at all. And the parts that [...]
Read more -
Testing Solr update XML messages
28-01-2011 Add a commentWhen updating a Solr index with the DataImportHandler or one of the available Solr clients you don’t really need to bother with all the details of updates. Most clients just give a simplified “add”, “delete” and “commit” interface to Solr updates, issued as separate commands. For most clients these commands are actually translated into Solr [...]
Read more -
Solr JNDI configuration
17-01-2011 1 CommentAs a follow-up on my previous post Solr XML config includes I want to point out another good way to handle environment specific Solr settings: using JNDI. This is not a replacement for XML includes, but in cases where you just need a custom database connection or Solr home dir it might be better suited. [...]
Read more
