[Xapian-tickets] [Xapian] #385: Expanding docids (etc) beyond 32 bit types

Xapian nobody at xapian.org
Thu Jun 4 01:46:46 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:  Other        |           Version:  SVN trunk
 Severity:  minor        |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------
Changes (by olly):

 * milestone:   => 1.3.x


Comment:

 There's a 32-bit assumption in glass currently:

 {{{
 /** How many bits to store the length of a sortable uint in.
  *
  *  Setting this to 2 limits us to 2**32 documents in the database.  If
 set
  *  to 3, then 2**64 documents are possible, but the database format isn't
  *  compatible.
  */
 const unsigned int SORTABLE_UINT_LOG2_MAX_BYTES = 2;
 }}}

 We should probably resolve that before 1.4.0, so glass is 64-bit ready.
 Need to check what the consequences of changing that are though.

 Marking this for 1.3.x, to at least resolve that.

--
Ticket URL: <http://trac.xapian.org/ticket/385#comment:5>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list