diff options
author | Tom Lane | 2007-12-02 21:15:38 +0000 |
---|---|---|
committer | Tom Lane | 2007-12-02 21:15:38 +0000 |
commit | e3ebf6312f9ce0b186c65007e4c89087e57d9553 (patch) | |
tree | 8c12b79e1ac7f5bc7d25be60581112a1a70ec8c4 | |
parent | 87b6d06892622632043e10c69ec01d133f3c4eb5 (diff) |
Remove README files now migrated to SGML docs.
-rw-r--r-- | contrib/dict_int/Makefile | 1 | ||||
-rw-r--r-- | contrib/dict_int/README.dict_int | 41 | ||||
-rw-r--r-- | contrib/dict_xsyn/Makefile | 1 | ||||
-rw-r--r-- | contrib/dict_xsyn/README.dict_xsyn | 52 |
4 files changed, 0 insertions, 95 deletions
diff --git a/contrib/dict_int/Makefile b/contrib/dict_int/Makefile index 7273b7f5ce..8e7fce0f39 100644 --- a/contrib/dict_int/Makefile +++ b/contrib/dict_int/Makefile @@ -4,7 +4,6 @@ MODULE_big = dict_int OBJS = dict_int.o DATA_built = dict_int.sql DATA = uninstall_dict_int.sql -DOCS = README.dict_int REGRESS = dict_int ifdef USE_PGXS diff --git a/contrib/dict_int/README.dict_int b/contrib/dict_int/README.dict_int deleted file mode 100644 index 5883c1c2f5..0000000000 --- a/contrib/dict_int/README.dict_int +++ /dev/null @@ -1,41 +0,0 @@ -Dictionary for integers -======================= - -The motivation for this example dictionary is to control the indexing of -integers (signed and unsigned), and, consequently, to minimize the number of -unique words which greatly affect the performance of searching. - -* Configuration - -The dictionary accepts two options: - - - The MAXLEN parameter specifies the maximum length (number of digits) - allowed in an integer word. The default value is 6. - - - The REJECTLONG parameter specifies if an overlength integer should be - truncated or ignored. If REJECTLONG=FALSE (default), the dictionary returns - the first MAXLEN digits of the integer. If REJECTLONG=TRUE, the - dictionary treats an overlength integer as a stop word, so that it will - not be indexed. - -* Usage - -1. Compile and install - -2. Load dictionary - - psql mydb < dict_int.sql - -3. Test it - - mydb# select ts_lexize('intdict', '12345678'); - ts_lexize - ----------- - {123456} - -4. Change its options as you wish - - mydb# ALTER TEXT SEARCH DICTIONARY intdict (MAXLEN = 4, REJECTLONG = true); - ALTER TEXT SEARCH DICTIONARY - -That's all. diff --git a/contrib/dict_xsyn/Makefile b/contrib/dict_xsyn/Makefile index a048f1551c..9c940551be 100644 --- a/contrib/dict_xsyn/Makefile +++ b/contrib/dict_xsyn/Makefile @@ -5,7 +5,6 @@ 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. |