Hi Steve

I'm sorry to be useless on this one, but I've no idea. How long have you been 
waiting for a response on the Sphinx forums? Sometimes they take a couple of 
days or so, but I generally find I'll get a response for the handful of 
questions I've asked there.

-- 
Pat

On 20/01/2010, at 12:50 PM, Steve H wrote:

> Running Sphinx 0.9.9 r2117 on OSX.
> 
> My colleague posted this issue over in the sphinx forums, but it seems
> that they aren't very active over there.
> 
> Wondering whether or not anyone over here has had similar issues, and
> how they might be overcome.  This is the problem:
> 
> I'm trying to ignore the single quote charecter (') and I cant seem to
> make it work. The
> search I'm performing is on O'grady's. If I search with "o grady s"
> then I get the
> result, but not when I search for ogradys. Here is the conf file. I'm
> not getting any
> errors when I run the index. Any ideas on why its not working?
> 
> index business_core
> {
>    source = business_core_0
>    path = /cs/sphinx_index/development/business_core
>    morphology = stem_en
>    charset_type = utf-8
>    ignore_chars = U+0027, U+27
>    exceptions = /cs/current/db/sphinx/exceptions.txt
> }
> 
> Furthermore, I've tried tweaking this, simply to get Sphinx to ignore
> *something*, as ignore_chars is described in the docs, so I tried to
> make it ignore "z" (hex is 007a):
> index business_core
> {
>    source = business_core_0
>    path = /cs/sphinx_index/development/business_core
>    morphology = stem_en
>    charset_type = utf-8
>    charset_table = 0..9, A..Y->a..y, a..y
>    ignore_chars = U+7A
>    exceptions = /cs/current/db/sphinx/exceptions.txt
> }
> 
> With this configuration, I indexed a business with the name "rozie".
> Then I tried searching (even simply using "search" on the command
> line) for "roie" and got nothing.  Searching for "rozie" brought the
> item back, but showed that Sphinx is actually searching for "ro" and
> "ie", which indicates that Sphinx is ignoring my "ignore_chars"
> setting, and instead treating the "z" character as an unknown
> character, which acts as a separator.
> 
> Any ideas?
> 
> -Steve
> -- 
> 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