[Xapian-tickets] [Xapian] #175: xapian-compact functionality should be available from the C++ API

Xapian nobody at xapian.org
Tue May 12 15:00:20 BST 2009


#175: xapian-compact functionality should be available from the C++ API
-------------------------+--------------------------------------------------
 Reporter:  richard      |        Owner:  olly     
     Type:  defect       |       Status:  assigned 
 Priority:  normal       |    Milestone:           
Component:  Library API  |      Version:  SVN trunk
 Severity:  normal       |   Resolution:           
 Keywords:               |    Blockedby:           
 Platform:  All          |     Blocking:  238      
-------------------------+--------------------------------------------------

Old 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.

New 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.

--

Comment(by olly):

 Whatever this API looks like should provide a way for the user to plug in
 their own algorithm for merging user meta data (since only they know what
 it means!)

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



More information about the Xapian-tickets mailing list