Depending on what degree of wild card matching you want enable star and set infix/prefix in sphinx.yml. Check here for more specifics: http://freelancing-god.github.com/ts/en/advanced_config.html
On Jul 19, 5:53 pm, badnaam <[email protected]> wrote: > here is the define index on my votetopic model. > > define_index do > indexes :header > indexes :topic > indexes vote_items.option, :as => :option > indexes category.name, :as => :category_name > > has created_at, updated_at, :total_votes > has category_id, user_id > end > > if I do a search for > > VoteTopic.search "tempora" it returns a few results. But > VoteTopic.search "temp", return nothing. Should it? If not, what do I > need to do? > > Thanks -- 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.
