[Xapian-discuss] change the doc_id

Olly Betts olly at survex.com
Sat Jan 13 02:09:07 GMT 2007


On Fri, Jan 05, 2007 at 04:49:41PM +0000, James Aylett wrote:
> On Fri, Jan 05, 2007 at 04:49:47PM +0100, Felix Antonius Wilhelm Ostmann wrote:
> 
> > is there any way to decide the doc_id from one document?
> 
> What happens if you use replace_document() instead of add_document()?

That's how to achieve this.  I've now added a note to the doxygen
documentation for add_document() to make this easier to find out.

Cheers,
    Olly



More information about the Xapian-discuss mailing list