I find my solution.I just add :star => true into search method. it
work.
and I was try added sphinx.yml in config as you said, it seems doesn't
work until I add :star => true opinion into search method
also I noticed config/development.sphinx.conf has these statment
--
index contact_core
{
source = contact_core_0
path = /home/ning/Documents/sphinx/db/sphinx/development/contact_core
charset_type = utf-8
min_infix_len = 1
enable_star = 1
38
}
--
On Feb 24, 3:51 pm, Pat Allan <[email protected]> wrote:
> What you're looking for is wildcard
> searching:http://freelancing-god.github.com/ts/en/common_issues.html#wildcards
>
> This will allow you to search using E* and get the Ellie Ford record returned.
>
> Cheers
>
> --
> Pat
>
> On 24/02/2010, at 6:21 PM, nnn wrote:
>
> > First name Last name
> > Edward Kerr
> > Ellie Ford
> > Aaliyah Allen
>
> > --------
> > I have a model which has data like above. when I search Edward, it
> > search result 'Edward Kerr' column,
> > search Ellie, return 'Ellie Ford' column. ok, it's good!
>
> > but, I input E to search, it give me nothing. so how to make a
> > incompletely word?
>
> > --my indexed---
> > define_index do
> > indexes [first_name, last_name], :as => :name
> > indexes street_address, city, state, country, postal_code
> > end
> > -------------------------
>
> > hope somebody insight me.
>
> > --
> > 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
> > athttp://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.