sant0sk1 wrote: > All three of these searches returned a match on a record with "dear, > love" in the text field. Any other ideas how to get Sphinx to take > notice of the commas in my indexed fields and not return matches on > them?
I suspect the Sphinx treats a comma as whitespace when indexing. To change the default behaviour, you'll want to specify charset_table in your sphinx.yml file. I have a blog post on tweaking charset_table: http://yob.id.au/blog/2008/05/08/thinking_sphinx_and_unicode/. It doesn't explicitly mention commas, but you can just add a comma to the list, then rebuild your indexes. Anything that isn't specified in the charset_table list is ignored when sphinx builds its indexes. At the very least, you'll probably want something like: charset_table: "0..9, a..z, _, A..Z->a..z, U+002C" -- James Healy <jimmy-at-deefa-dot-com> Thu, 09 Oct 2008 12:06:57 +1100 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
