-
Solr JNDI configuration
17-01-2011 2 CommentsAs 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 -
Solr test dataset
29-12-2010 5 CommentsFor an opensource project I’m working on I need a good Solr test dataset. More info about the project will follow soon, but as a teaser I can already tell it’s Solr and PHP related The dataset needs to be of a reasonable size (not unrealisticly small, but not huge either) and it should be [...]
Read more -
Solr XML config includes
30-10-2010 Add a commentIf you ever used Solr in a version controlled project you will probably have run into the same issues as I have: the solr config files contain definitions that you want to have in version control, but they also contain environment specific settings. You can use the version controlled configs as a distribution version which [...]
Read more -
Stunnel, a practical solution for SSL/TLS
10-09-2010 Add a commentTLS/SSL encryption is generaly a good thing to use, however it can in some cases be hard to implement. Stunnel is a small program that provides SSL/TLS capabilities to clients and/or servers that don’t speak SSL/TLS natively. It basically works like a proxy, transparently adding an encryption layer to the communication layer; or removing it. [...]
Read more -
Integrating Solr with PHP
20-07-2010 6 CommentsCurrently there isn’t really a standard way to integrate Solr with PHP. For various projects I have used: manual HTTP requests PHP Solr extension solr-php-client library They all have their own pros and cons.
Read more -
Cross-domain XHR with Varnish
09-07-2010 Add a commentCross-domain XHR (AJAX) requests can be an issue. There are workarounds like JSONP but sometimes JSONP is not available, or you need a POST request, or you have other special requirements that require usage of XHR. In that case a webproxy on your own domain is often used to resolve the crossdomain issue. There are [...]
Read more -
Complex Solr faceting
08-07-2010 2 CommentsWhen using Solr faceting sooner or later there will be a request for a complex facet, one that at first sight seems impossible using standard Solr faceting. However with some creative use of facets and a small bit of extra logic in your application you can create a very advanced faceting interface. In this example [...]
Read more -
Controlling Varnish ESI inside your application
05-07-2010 2 CommentsFor me one of the best features of Varnish is ESI (Edge Side Includes). It allows you to combine elements with different lifetimes into a single page. This way you don’t need to regenerate a complete page as soon as a news listing somewhere on the page changes. And you can still cache pages while [...]
Read more

