Ticket #175 (assigned defect)

Opened 19 months ago

Last modified 11 months ago

xapian-compact functionality should be available from the C++ API

Reported by: richard Owned by: olly
Priority: normal Milestone:
Component: Library API Version: SVN trunk
Severity: normal Keywords:
Cc: Blocked By:
Operating System: All Blocking: #238

Description

The ability to merge and compact databases efficiently would be a useful addition to the C++ API (and the language bindings), so it would be good to move most of the implementation xapian-compact into the core, and change xapian-compact to just be a simple interface to this.

The first step is probably to refactor xapian-compact, such that it's not mainly a single massive function: I've made a start on this, and the patch will be attached to this bug shortly.

I'm happy to work on this, and don't think it's very much work, but Olly says that there are a few outstanding issues he needs to fix in xapian-compact, so I'll leave this bug assigned to him until then.

Attachments

patch (11.2 kB) - added by richard 19 months ago.
Some refactoring of xapian-compact

Change History

Changed 19 months ago by richard

Some refactoring of xapian-compact

Changed 17 months ago by olly

  • status changed from new to assigned

Changed 11 months ago by richard

It would also be useful to be able to check databases from the C++ API and language bindings (ie, to bring the implementation of xapian-check into the core).

Changed 11 months ago by richard

  • blocking set to 238

Changed 11 months ago by trac

  • platform set to All
Note: See TracTickets for help on using tickets.