diff options
| author | Teodor Sigaev | 2007-09-11 16:01:40 +0000 |
|---|---|---|
| committer | Teodor Sigaev | 2007-09-11 16:01:40 +0000 |
| commit | 476045a21be82bf2437af8e41496a11e2ab4b9a9 (patch) | |
| tree | 87fe64b09184d12a105cd655a305805b63b5cf00 /src/include | |
| parent | 13553cbbff8670decab9cfed691bde7ed8a8b5b4 (diff) | |
Remove QueryOperand->istrue flag, it was used only in cover ranking
(ts_rank_cd). Use palloc'ed array in ranking instead of flag.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/tsearch/ts_type.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/tsearch/ts_type.h b/src/include/tsearch/ts_type.h index 107fc4a7112..3591ed53e86 100644 --- a/src/include/tsearch/ts_type.h +++ b/src/include/tsearch/ts_type.h @@ -5,7 +5,7 @@ * * Copyright (c) 1998-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.5 2007/09/11 08:46:29 teodor Exp $ + * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.6 2007/09/11 16:01:40 teodor Exp $ * *------------------------------------------------------------------------- */ @@ -187,8 +187,7 @@ typedef struct /* pointer to text value of operand, must correlate with WordEntry */ uint32 - istrue:1, /* use for ranking in Cover */ - length:11, + length:12, distance:20; } QueryOperand; |
