Created
June 30, 2011 05:11
-
-
Save rud/1055675 to your computer and use it in GitHub Desktop.
Heroku Danish languate support
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
(heroku console)$ User.connection.execute("select to_tsvector('danish', 'vi kigger p\303\245 biler og huse')").to_set | |
=> #<Set: {{"to_tsvector"=>"'bil':4 'hus':6 'kig':2"}}> | |
(psql)$ \dF+ danish | |
Text search configuration "pg_catalog.danish" | |
Parser: "pg_catalog.default" | |
Token | Dictionaries | |
-----------------+-------------- | |
asciihword | danish_stem | |
asciiword | danish_stem | |
email | simple | |
file | simple | |
float | simple | |
host | simple | |
hword | danish_stem | |
hword_asciipart | danish_stem | |
hword_numpart | simple | |
hword_part | danish_stem | |
int | simple | |
numhword | simple | |
numword | simple | |
sfloat | simple | |
uint | simple | |
url | simple | |
url_path | simple | |
version | simple | |
word | danish_stem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment