Thanks for your help. Is it possible to search using a specific index? Something like this:
Article.search 'something', :using => 'index_xyz' On Monday, May 6, 2013 10:32:10 PM UTC+4:30, Pat Allan wrote: > > Hi Hussein > > You'll need to set each index's morphology property within the index > definition: > > ThinkingSphinx::Index.define … do > # fields, attributes, etc > > set_property :morphology => 'stem_en' > end > > Cheers > > -- > Pat > > On 06/05/2013, at 3:57 AM, Hussein Samadi wrote: > > > Hi, > > > > I've created multiple indices for one of my AR models. So that I can use > different morphology option for each one of them. (a stemmer for one and a > phonetic algorithm for the the other, to be exact). But, I don't know how I > can do that. I've tried following configuration in thinking_sphinx.yml but > it didn't work. > > > > development: > > index_one: > > morphology: stem_en > > > > index_two: > > morphology: metaphone > > > > So, any help would be appreciated. > > > > Thanks > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to > > [email protected]<javascript:> > . > > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
