[Xapian-tickets] [Xapian] #687: 64 bit docid follow-on
Xapian
nobody at xapian.org
Sat Sep 26 07:59:42 BST 2015
#687: 64 bit docid follow-on
--------------------------------+-----------------------
Reporter: olly | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.3.5
Component: Library API | Version: SVN trunk
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: All |
--------------------------------+-----------------------
You can now use 64-bit docid (and termcount), so marking #385 fixed seems
appropriate.
But we ought to add testcases that this works for each of the bindings -
it's not something that necessarily will automatically.
I wrote a simple testcase for PHP (patch attached), which passes with 64
bit docid (promising) but fails with 32 bit docid (as the C++ version
does). I don't see any easy way to determine the type widths from the
bindings as things are though, which makes adding tests problematic.
The failure mode isn't good either - you just get the docid quietly
wrapping. If we fix that for C++ then the testcases could at least check
for it working or giving that exception. Or perhaps we expose the
information about type widths through the bindings.
--
Ticket URL: <http://trac.xapian.org/ticket/687>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list