summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTeodor Sigaev2007-09-11 16:01:40 +0000
committerTeodor Sigaev2007-09-11 16:01:40 +0000
commit476045a21be82bf2437af8e41496a11e2ab4b9a9 (patch)
tree87fe64b09184d12a105cd655a305805b63b5cf00 /src/include
parent13553cbbff8670decab9cfed691bde7ed8a8b5b4 (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.h5
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;