[Xapian-tickets] [Xapian] #666: Implement single-file format for glass backend
Xapian
nobody at xapian.org
Mon Nov 2 03:17:43 GMT 2015
#666: Implement single-file format for glass backend
---------------------------+------------------------------
Reporter: wgreenberg | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.4
Component: Backend-Glass | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+------------------------------
Changes (by olly):
* component: Other => Backend-Glass
* milestone: 1.3.x => 1.3.4
Comment:
kelson: You just open a file descriptor on your file which has the Xapian
DB embedded, `lseek()` it to where the Xapian DB starts, and then pass the
file descriptor to the `Xapian::Database` constructor (instead of a
filename) - Xapian just looks where the descriptor's file position already
is.
The "pack-single-file-glass-db" script is now superseded - this
functionality has been folded into database compaction, so you can just
use xapian-compact or the compaction API.
Hoping to get this merged for 1.3.4, though could conceivably be 1.3.5.
--
Ticket URL: <http://trac.xapian.org/ticket/666#comment:13>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list