Hi Mark I'm not sure how plumbing is translated by the stemmer, and whether that takes precedence over wordforms.
If you can see the settings in your generated Sphinx config file (and you've put RAILS_ROOT as a placeholder in the email, not in the file itself - obvious, I know, but no harm double-checking), then it might be worth asking these questions on the Sphinx forum: http://www.sphinxsearch.com/forum/ Sorry I can't be of more help. -- Pat On 06/02/2010, at 11:33 AM, Swards wrote: > I have looked through the other messages, but I'm still surprised at > the output I'm getting. Makes me think I have something basic > configured wrong. > > My Config file: > > development: > morphology: stem_en > wordforms: "RAILS_ROOT/sphinx/wordforms.txt" > test: > morphology: stem_en > wordforms: "RAILS_ROOT/sphinx/wordforms.txt" > production: > morphology: stem_en > wordforms: "RAILS_ROOT/sphinx/wordforms.txt" > > My wordforms.txt file > > plumb > plumbing > plumber > plumbing > > I get no results for 'plumber', but plenty for plumb. Neither of > these is actually in the system. The common term in 'plumbing'. If I > remove the wordforms file, I get no results for 'plumb'. > > I am stopping, indexing, and starting. > > For the Actual results, I'm doing the following in a Rails app... > > @businesses = Business.search(params[:q]) > > What am I doing wrong? > > Many thanks! > > - mark > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
