Last active
December 12, 2017 13:39
-
-
Save gormih/d5802750dd552f4c0975b5e89b16217c to your computer and use it in GitHub Desktop.
Create postgresql russian unaccent configuration
This file contains hidden or 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
CREATE EXTENSION unaccent; | |
CREATE TEXT SEARCH CONFIGURATION russian_unaccent( COPY = russian ); | |
ALTER TEXT SEARCH CONFIGURATION russian_unaccent | |
ALTER MAPPING FOR hword, hword_part, word | |
WITH unaccent, russian_stem; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment