Experimenting with this and I have one table, one index. Table is
called Faq, with a question and answer column.

One row of data.

Question: What are shoes?

Answer: yada, yada

Created one index on the question column

class Faq < ActiveRecord::Base

  define_index do
    indexes :question
  end

end

Rdoc says:

By default, Sphinx uses English stemming, e.g. matching "shoes" if you
search for "shoe".


I have a simple form, enter a phrase, pass it to TS and display the
result on the same page.

"shoes" works, returns the one hit,  "shoe" does not, no match

[Tue Jul 21 14:54:44.734 2009] 0.000 sec [all/2/rel 0 (0,20)] [*] shoe
[Tue Jul 21 15:02:48.390 2009] 0.000 sec [all/2/rel 1 (0,20)] [*]
shoes

I tried tinkering with the sphinx config file created by TS, no luck
there, it just gets over-written each time I rake:index.

Some Googling seems to indicate that TS's default is English stemming
on but it doesn't seem like it.

I must be missing something basic here. Any help would be much
appreciated.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to