[Xapian-tickets] [Xapian] #687: 64 bit docid follow-on
Xapian
nobody at xapian.org
Sat Dec 26 01:16:29 GMT 2015
#687: 64 bit docid follow-on
-------------------------+------------------------------
Reporter: olly | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.4.x
Component: Library API | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+------------------------------
Changes (by olly):
* milestone: 1.3.5 => 1.4.x
Comment:
On further reflection, I think we punt on this for 1.4.0 - 64 bit docids
aren't the default, so you're choosing an ABI-incompatible build to start
with.
It's also going to be significant work to check the consequences for all
the languages we have bindings for. E.g. it looks like PHP's integer type
can be 32 or 64 bits depending on the platform (I guess it maps to C
`long`), and large values quietly turn into a floating point value (which
presumably means that where PHP has a 32-bit integer type, integer values
are effectively precisely representable up to where C `double` stops being
able to represent consecutive integers). This all needs careful research
(or existing in-depth knowledge), and careful construction of tests cases.
--
Ticket URL: <http://trac.xapian.org/ticket/687#comment:3>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list