diff options
author | Teodor Sigaev | 2005-11-08 17:08:46 +0000 |
---|---|---|
committer | Teodor Sigaev | 2005-11-08 17:08:46 +0000 |
commit | 0645663e6cf20fee555ae0acf428b85fd20a5fed (patch) | |
tree | 767b927057309a95d153c2ec8b929ace5579f247 /contrib/tsearch2/query.h | |
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.h')
-rw-r--r-- | contrib/tsearch2/query.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query.h b/contrib/tsearch2/query.h index 3ac757a162..3a84afc9c0 100644 --- a/contrib/tsearch2/query.h +++ b/contrib/tsearch2/query.h @@ -17,7 +17,7 @@ typedef struct ITEM int4 val; /* user-friendly value, must correlate with WordEntry */ uint32 - unused:1, + istrue:1, /* use for ranking in Cover */ length:11, distance:20; } ITEM; |