Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/carquinyol/filestore.py
diff options
context:
space:
mode:
authorSascha Silbe <sascha@silbe.org>2009-12-20 12:00:07 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-12-20 12:00:07 (GMT)
commit0e682f97bf60b57d6991d52be8c0b77c5b8b5b28 (patch)
tree2cdaba534a429bc61924fac9d04b3b057965341c /src/carquinyol/filestore.py
parentf3d3e1ecf17aceb7cbdf29b0ef14a7c970db14f3 (diff)
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 <sascha@silbe.org>
Diffstat (limited to 'src/carquinyol/filestore.py')
0 files changed, 0 insertions, 0 deletions