1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

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
This commit is contained in:
Teodor Sigaev
2005-11-08 17:08:46 +00:00
parent 6521ea008e
commit 0645663e6c
14 changed files with 1876 additions and 114 deletions

View File

@@ -23,7 +23,7 @@
#include "tsvector.h"
#include "crc32.h"
#include "query.h"
#include "rewrite.h"
#include "query_cleanup.h"
#include "common.h"