Hi Canvas

Try wrapping the queries in Riddle.escape() - this escapes any  
characters Sphinx is fussy about.

Cheers

-- 
Pat

On 08/01/2009, at 4:31 AM, Canvas wrote:

>
> I retried Sample one and two and figured out some rules. If the search
> string ends with "-", the record can be found.
>
> Sample one:
> -----------------
> Search By:
> "*2009-01-05*"              -- not found
> "*2009-01-05-*"                          --- record found
> "*2009-01*"                  -- not found
> "*2009-01-*"                              --- record found
> -----------------
>
> This is a really interesting problem.
> >


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