aboutsummaryrefslogtreecommitdiff
path: root/contrib/dict_xsyn/sql/dict_xsyn.sql
blob: 17f6df9cf3d26da1ccaf0e826dc10d597ccecb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--
-- first, define the datatype.  Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
\i dict_xsyn.sql
\set ECHO all
RESET client_min_messages;

--configuration
ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=false);

--lexize
SELECT ts_lexize('xsyn', 'supernova');
SELECT ts_lexize('xsyn', 'grb');