Kieron Howard

Kieron Howard

Solr Suggester config example

I couldn’t seem to get the Solr Suggester feature to work from the official docs examples so thought I’d document my working example. In my case I wanted to suggest locations based on data currently within the index. within solrconfig.xml…

Vagrant bootstrap.sh for full LAMP stack with Solr 4

Just for reference, here is the bootstrap.sh file I use to bring up my vagrant dev box with Solr 4 and Jetty ready to go. #!/usr/bin/env bash apt-get install python-software-properties add-apt-repository ppa:ondrej/php5 apt-get update apt-get install php5 apt-get install php5-mysql…

PHP Interface example

I’ve never really come across the need to use an interface, and usually just use inheritance to extend whatever class I needed to. Recently though I needed a generic base caching class, which would have other classes implement there own…

Stackoverflow as a rubber duck

This week we had the director of an external agency in the office. During a meeting with him he brought up that back in the old days of cubicle programmers, some would have ‘cardboard cutouts‘ to bounce ideas off when…