I've been using Sphinx for full text search, but since I want to move my
project over to Heroku, need to switch to Solr. Everything's up and running
using the acts_as_solr plugin, but I'm curious if I'm using Solr the right
way.  In particular, I'm doing phrase searching into a corpus of
descriptions, such as "I need help with a foo" where I have a bunch of "foo:
a foo is a subset of a bar often used to create briznatzes", etc.

With Sphinx, I could convert "I need help with a foo" into "*need* *help*
*with* *foo*" and get pretty nice matches. With Solr, my understanding is
that you can only do wildcard matches on the suffix. In addition, stemming
only happens on non-wildcard terms. So, my first thought would be to convert
"I need help with a foo" into "need need* help help* with with* foo foo*".

Thanks in advance for any help.

-- 
Cory Ondrejka
cory.ondre...@gmail.com
http://ondrejka.net/

Reply via email to