[Xapian-discuss] Rqt for Features

Eric B. Ridge ebr at tcdi.com
Wed Aug 11 21:52:39 BST 2004


On Aug 11, 2004, at 4:49 PM, Olly Betts wrote:

> On Mon, Aug 09, 2004 at 12:16:59PM +0100, Olly Betts wrote:
>> On Fri, Jul 09, 2004 at 03:59:16PM +0100, Tim Brody wrote:
>>> The cleanest method from outside of the API would be if 
>>> replace_document
>>> accepted a non-existent (to xapian) docid, in which case it adds the
>>> document rather than excepting (i.e. SQL's "REPLACE" behaviour).
>>
>> This is something I'd noticed might be useful.
>
> OK, this is now implemented in CVS.  Currently untested - I'll add some
> test cases for this shortly.  If you test it, let me know how it goes.

This is waay cool!  Using Xapian to index database records... now I'll 
be able to kill my SQL lookup table of primary key<-->xapian doc id, 
and just use my database primary keys as xapian document ids.  woo hoo!

eric




More information about the Xapian-discuss mailing list