summaryrefslogtreecommitdiff
path: root/contrib/dict_xsyn
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-12-02 21:15:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-12-02 21:15:38 +0000
commit1308d6dd80625207255e38028a513fa7defd569b (patch)
tree3a5cc34d51b534f9e2c96afe69815ef767edfefb /contrib/dict_xsyn
parentec2ff52045bca49cd6d141ce70959d2c4065192d (diff)
downloadpostgresql-1308d6dd80625207255e38028a513fa7defd569b.tar.gz
Remove README files now migrated to SGML docs.
Diffstat (limited to 'contrib/dict_xsyn')
-rw-r--r--contrib/dict_xsyn/Makefile3
-rw-r--r--contrib/dict_xsyn/README.dict_xsyn52
2 files changed, 1 insertions, 54 deletions
diff --git a/contrib/dict_xsyn/Makefile b/contrib/dict_xsyn/Makefile
index dd47e85b9f..2a879b7eff 100644
--- a/contrib/dict_xsyn/Makefile
+++ b/contrib/dict_xsyn/Makefile
@@ -1,11 +1,10 @@
-# $PostgreSQL: pgsql/contrib/dict_xsyn/Makefile,v 1.2 2007/10/16 15:59:59 tgl Exp $
+# $PostgreSQL: pgsql/contrib/dict_xsyn/Makefile,v 1.3 2007/12/02 21:15:38 tgl Exp $
MODULE_big = dict_xsyn
OBJS = dict_xsyn.o
DATA_built = dict_xsyn.sql
DATA = uninstall_dict_xsyn.sql
DATA_TSEARCH = xsyn_sample.rules
-DOCS = README.dict_xsyn
REGRESS = dict_xsyn
ifdef USE_PGXS
diff --git a/contrib/dict_xsyn/README.dict_xsyn b/contrib/dict_xsyn/README.dict_xsyn
deleted file mode 100644
index 9565eefefb..0000000000
--- a/contrib/dict_xsyn/README.dict_xsyn
+++ /dev/null
@@ -1,52 +0,0 @@
-Extended Synonym dictionary
-===========================
-
-This is a simple synonym dictionary. It replaces words with groups of their
-synonyms, and so makes it possible to search for a word using any of its
-synonyms.
-
-* Configuration
-
-It accepts the following options:
-
- - KEEPORIG controls whether the original word is included, or only its
- synonyms. Default is 'true'.
-
- - RULES is the base name of the file containing the list of synonyms.
- This file must be in $(prefix)/share/tsearch_data/, and its name must
- end in ".rules" (which is not included in the RULES parameter).
-
-The rules file has the following format:
-
- - Each line represents a group of synonyms for a single word, which is
- given first on the line. Synonyms are separated by whitespace:
-
- word syn1 syn2 syn3
-
- - Sharp ('#') sign is a comment delimiter. It may appear at any position
- inside the line. The rest of the line will be skipped.
-
-Look at xsyn_sample.rules, which is installed in $(prefix)/share/tsearch_data/,
-for an example.
-
-* Usage
-
-1. Compile and install
-
-2. Load dictionary
-
- psql mydb < dict_xsyn.sql
-
-3. Test it
-
- mydb=# SELECT ts_lexize('xsyn','word');
- ts_lexize
- ----------------
- {word,syn1,syn2,syn3)
-
-4. Change the dictionary options as you wish
-
- mydb# ALTER TEXT SEARCH DICTIONARY xsyn (KEEPORIG=false);
- ALTER TEXT SEARCH DICTIONARY
-
-That's all.