[Xapian-tickets] [Xapian] #385: Expanding docids (etc) beyond 32 bit types
Xapian
nobody at xapian.org
Sat Sep 26 05:02:53 BST 2015
#385: Expanding docids (etc) beyond 32 bit types
-------------------------+------------------------------
Reporter: james | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.x
Component: Library API | Version: SVN trunk
Severity: minor | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+------------------------------
Comment (by olly):
All 4 combinations worked, so I've committed the adjusted patch in
[165391d49d0e52ae416f0c75350f79fe626311da].
The bindings needed a small tweak to get SWIG to see
`XAPIAN_DOCID_BASE_TYPE`, etc but otherwise seem to work, though we
probably should have a testcase like `exceed32bitcombineddb1` for each
language to ensure that 64 bit docids actually work.
I've opened #686 for the related issue of allowing > 32-bit docid values
to be used in the disk backends. This requires an encoding change, so
isn't feasible for the stable backends (chert and older), but we could
probably do it for glass.
I also wonder if 64-bit docids would be a sane default, at least for
64-bit platforms. Dylan: Have you done any profiling of your patch
compared to a standard build?
--
Ticket URL: <http://trac.xapian.org/ticket/385#comment:20>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list