Category Archives: Solr

  • Introducing the Solr ScriptUpdateProcessor

    08-12-2013Author: basdenooijer

    Earlier this year joined forces with a great group of developers, to create the Dutch Web Alliance. You can read all about it here:¬† I’ve recently published an article on the DWA blog about the Solr ScriptUpdateProcessor. The ScriptUpdateProcessors enables custom update processing code to be written in several scripting languages (Javascript, Ruby, Groovy or […]

    Read more
  • Solarium 3

    03-01-2013Author: basdenooijer

    A 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-2012Author: basdenooijer

    Solr 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-2012Author: basdenooijer

    First 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-2011Author: basdenooijer

    In 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-2011Author: basdenooijer

    Several 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-2011Author: basdenooijer

    Solarium 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-2011Author: basdenooijer

    When 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-2011Author: basdenooijer

    I’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-2011Author: basdenooijer

    When 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
  • « Older posts