From 0e682f97bf60b57d6991d52be8c0b77c5b8b5b28 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sun, 20 Dec 2009 12:00:07 +0000 Subject: fix range query for timestamp to do numerical comparison instead of lexical (#1342) 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 --- (limited to 'src/carquinyol/filestore.py') -- cgit v0.9.1