Category: WebDev & Code

  • Rails Sunspot/Solr returning result for single character searches

    I spent 8 hours trying to get this to work. I googled and found lots of people asking the question but no one with a solution, or rather the given solutions wasn’t working for me. 1) rake sunspot:solr:stop 2) Edit the solr/conf/schema.xml file; <fieldType name=”text” class=”solr.TextField” omitNorms=”false”> <analyzer> <tokenizer class=”solr.StandardTokenizerFactory”/> <filter class=”solr.StandardFilterFactory”/> <filter class=”solr.LowerCaseFilterFactory”/> <filter…

  • Backup! (Bye bye TimeMachine, hello Carbon Copy Cloner)

    Executive summary: Stop reading, backup your computer. Done that? Let’s continue. [1] Second Executive summary: TimeMachine on my mac failed, I now use Carbon Copy Cloner. Yes, that cost me £26. Yes, it’s basically rsync (free opensource software I already use) but it’s easier to configure and has other useful features that I decided are…

  • Gandi said thanks 🙂

    What a lovely surprise! A T-shirt arrived in the post from the folks at Gandi.net Gandi are the company that provide all my domain names and server hosting for work and play, including the hardware behind this blog.  I’ve been using them since 2009 and they’ve always super.  If you need domain names or hosting, I…