[Xapian-tickets] [Xapian] #654: Getting EOF when using get_data() in a remote database

Xapian nobody at xapian.org
Tue Apr 28 12:54:42 BST 2015


#654: Getting EOF when using get_data() in a remote database
---------------------------+-----------------------------
 Reporter:  Kronuz         |             Owner:  olly
     Type:  defect         |            Status:  assigned
 Priority:  normal         |         Milestone:  1.3.3
Component:  Backend-Chert  |           Version:  1.2.18
 Severity:  normal         |        Resolution:
 Keywords:                 |        Blocked By:
 Blocking:                 |  Operating System:  All
---------------------------+-----------------------------

Comment (by olly):

 Looking at the `component_of()` issue again, I was mistaken.  The null key
 that every table has is in fact "component 1 of 1" - the item is 7 bytes
 long, within that the key is 3-3=0 bytes long, and it's part 1 of 1:

 ```
 0001ff0: xx xx xx xx xx xx xx xx xx 00 07 03 00 01 00 01
          .......................... itmlen K part1 of__1

 ```

 We also set the left key at each branch level to a "null key", and that
 one lacks the component information, and I was confusing these two
 different sorts of "null key".

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



More information about the Xapian-tickets mailing list