If you want the partial matches, then you will need to either add the stars 
yourself:

  ThinkingSphinx.search "E*"

Or, as you've found, use the :star option:

  ThinkingSphinx.search "E", :star => true

The only issue with the second option, is that it will match any e's, because 
it's actually searching for "*E*".

1.3.14 should be fine with all this, as will the latest TS, 1.3.16.

-- 
Pat

On 24/02/2010, at 7:28 PM, nnn wrote:

> forgive me , my version is thinking-sphinx (1.3.14)
> 
> 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.
> 

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