Created
September 13, 2009 17:37
-
-
Save thbar/186253 to your computer and use it in GitHub Desktop.
Configuration tweaking to allow search words with dash in there in ThinkingSphinx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults: &defaults | |
# charset_table tweak to allow searching words that include dash (-) in thinking sphinx | |
# this is the default charset but with dash (-) added to ensure it's not considered to be a delimited | |
charset_table: "-, 0..9, A..Z->a..z, _, a..z, \ | |
U+410..U+42F->U+430..U+44F, U+430..U+44F" | |
production: | |
.... | |
<<: *defaults | |
development: | |
.... | |
<<: *defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment