[Xapian-discuss] 128 bit Document IDs (Please don't hurt me)
James Aylett
james-xapian at tartarus.org
Sat Mar 10 15:02:35 GMT 2012
On 9 Mar 2012, at 23:39, Shane Spencer wrote:
> Mapping a UUID (128 bit) or MongoDB ObjectID (96 bit) directly into
> the Xapian document space removes the need for referencing one or the
> other from one or both. I see a common tendency to write a document
> to the Xapian, return the document ID, and then write to the database
> backing the document in some way.
Shane, have you considered adding your internal object id as a unique term? We have an FAQ on this <http://trac.xapian.org/wiki/FAQ/UniqueIds>.
J
--
James Aylett
talktorex.co.uk - xapian.org - devfort.com - spacelog.org
More information about the Xapian-discuss
mailing list