Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2011-03-04 14:02:03 (GMT)
committer Sascha Silbe <silbe@activitycentral.com>2011-03-04 14:02:03 (GMT)
commit40dc8979c7b22fb23b8cdf93f3fd810a3b46269d (patch)
treee7bc6e08393cd60c341e023032f5edc272eab20d
parent5716859ce89e9e164cc720aaef4a2ec75a36b8c0 (diff)
parent62e3f3da8b4e8d60a3396b2056d1d58f8719fb43 (diff)
Merge remote branch 'refs/remotes/origin/t/timestamp-range-query-fix' into HEAD
* refs/remotes/origin/t/timestamp-range-query-fix: fix range query for timestamp to do numerical comparison instead of lexical (#1342)
-rw-r--r--.topdeps3
-rw-r--r--.topmsg14
2 files changed, 10 insertions, 7 deletions
diff --git a/.topdeps b/.topdeps
index 32541a7..2f88819 100644
--- a/.topdeps
+++ b/.topdeps
@@ -1,2 +1 @@
-upstream/master
-t/testsuite
+t/query-typed-props
diff --git a/.topmsg b/.topmsg
index bb91966..813bb78 100644
--- a/.topmsg
+++ b/.topmsg
@@ -1,10 +1,14 @@
From: Sascha Silbe <sascha@silbe.org>
-Subject: [PATCH] add and use type information for "known" properties (#1437)
+Subject: [PATCH] fix range query for timestamp to do numerical comparison instead of lexical (#1342)
-Bug #1342 has shown that it's necessary to know (and convert/check) the type
-of known properties (as we need to use xapian.sortable_serialise() on numeric
-types). This patch does that (but doesn't fix #1342 yet, that will be done on
-top of it).
+With the current code, anything Xapian value-stored is converted to a string
+before querying, so numeric types end up as decimal strings. This won't work as
+expected because Xapian does lexical comparison. We need to use
+xapian.sortable_serialise() on numeric values to convert them to an (internal)
+format that will result in "numerical" comparison.
+Changes index content format, so needs an index rebuild.
+
+Prerequisite: #1437
Signed-off-by: Sascha Silbe <sascha@silbe.org>