Hi Vince

Have a read of the following links, in order:
http://www.sphinxsearch.com/forum/view.html?id=1614
http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-charset-table
http://freelancing-god.github.com/ts/en/advanced_config.html

Put the three together, and you should be able to search for email  
addresses :)

Cheers

-- 
Pat

On 05/06/2009, at 4:42 PM, Vince Wadhwani wrote:

>
> I read a few posts about searching for email addresses and how @ might
> be a reserved character.
>
> Given an entry in my index of [email protected]
>
> User.search :conditions => {:email => "[email protected]}
> User.search :conditions => {:email => "[email protected]}
>
> both return nothing, but
>
> User.search :conditions => {:email => "example.com}
>
> will return the result.
>
> Is there a recommended way to either sanitize the search or modify the
> index so I can search for the complete email address?
>
> Thanks in advance
> >


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