Posts tagged sunspot


Fuzzy searching in SOLR with Sunspot

solr sunspot ohm fuzzy | comments

At one point or another, you'll need this functionality:

Find all people whose names start with Jo Sm <- (i.e. the famous John Smith)

Step 1. Make it work

How do we go about that in SOLR (specifically using sunspot?). Here's my brain dump based off of a gist:

Continue reading »


Cucumber + Autospec Won't Stop Running!

cucumber autospec sunspot solr rails bdd testing | comments

If you've ever had the setup of using cucumber, autospec, and sunspot SOLR in one your rails applications, chances are you've tried hitting your SOLR test instance just to verify that the whole stack works.

Continue reading »


Doing partial matches with Solr and Sunspot

sunspot solr searching autocomplete | comments

In case you want to do something like an autocomplete that would pre-populate a suggestion list, say for example, by typing in a Doctor's first name and / or last name, you can do this using the starting_with keyword in sunspot. Let the code speak for itself?

Continue reading »