[Xapian-discuss] change the doc_id
Felix Antonius Wilhelm Ostmann
ostmann at websuche.de
Fri Jan 5 15:49:47 GMT 2007
is there any way to decide the doc_id from one document?
something like:
int id = 101;
db.add_document(doc,id);
i have one uniq_id like the doc_id and i want doc_id = uniq_id. when i
delete one uniq_id and i generate the index new i have a problem :( or
should i insert empty documents for deleted ids? or is this a bad idea
to use the doc_id, should i save my own uniq_id in a value and ignore
the doc_id in my system?
--
Mit freundlichen Grüßen
Felix Antonius Wilhelm Ostmann
--------------------------------------------------
Websuche Search Technology GmbH & Co. KG
Martinistraße 3 - D-49080 Osnabrück - Germany
Tel.: +49 541 40666-0 - Fax: +49 541 40666-22
Email: info at websuche.de - Website: www.websuche.de
--------------------------------------------------
AG Osnabrück - HRA 200252 - Ust-Ident: DE814737310
Komplementärin: Websuche Search Technology
Verwaltungs GmbH - AG Osnabrück - HRB 200359
Geschäftsführer: Diplom Kaufmann Martin Steinkamp
--------------------------------------------------
More information about the Xapian-discuss
mailing list