Hi Richard

There's no way to customise how :star behaves, so you're going to have to add 
the stars in yourself. Also, keep in mind that - could be treated as a special 
character by Sphinx if you're using the extended match mode (which is necessary 
for matching on certain fields - ie: the :conditions option), and so you need 
to escape them. Riddle.escape does this - but if you want to manage it 
yourself, it's just done by adding a \ in front of each -.

Cheers

-- 
Pat

On 17/07/2010, at 1:34 AM, Richard wrote:

> When searching for a product eg YS-RSL-F084 when I use :star => true
> in the search, looking at the logs it is actually searching for
> 
> *YS*-*RSL*-*F084*
> 
> So you know why this is and how to fix it??
> 
> Cheers
> 
> Richard
> 
> -- 
> 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