diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2005-11-08 17:08:46 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2005-11-08 17:08:46 +0000 |
commit | 0645663e6cf20fee555ae0acf428b85fd20a5fed (patch) | |
tree | 767b927057309a95d153c2ec8b929ace5579f247 /contrib/tsearch2/query.c | |
parent | 6521ea008e2c02c69c13e69c78383114a95caa9e (diff) |
New features for tsearch2:
1 Comparison operation for tsquery
2 Btree index on tsquery
3 numnode(tsquery) - returns 'length' of tsquery
4 tsquery @ tsquery, tsquery ~ tsquery - contains, contained for tsquery.
Note: They don't gurantee exact result, only MAY BE, so it
useful only for speed up rewrite functions
5 GiST index support for @,~
6 rewrite():
select rewrite(orig, what, to);
select rewrite(ARRAY[orig, what, to]) from tsquery_table;
select rewrite(orig, 'select what, to from tsquery_table;');
7 significantly improve cover algorithm
Diffstat (limited to 'contrib/tsearch2/query.c')
-rw-r--r-- | contrib/tsearch2/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index a260d459355..e6f1ae3a898 100644 --- a/contrib/tsearch2/query.c +++ b/contrib/tsearch2/query.c @@ -23,7 +23,7 @@ #include "tsvector.h" #include "crc32.h" #include "query.h" -#include "rewrite.h" +#include "query_cleanup.h" #include "common.h" |