Xapian concurrency
Dirk-Jan C. Binnema
djcb.bulk at gmail.com
Sun Apr 28 21:10:12 BST 2024
Dear list,
I'm trying to use Xapian in a multi-threaded environment; and generally
be carefully that database is not accessed concurrently (as per [1])
However, during indexing I want to create Xapian documents in multiple
threads (without referencing the database in any way). Actually adding
them to the database is done in a single thread (and with locks etc.)
Is this is a safe way to implement this?
Thanks in advance,
Dirk.
[1] https://getting-started-with-xapian.readthedocs.io/en/latest/concepts/concurrency.html
--
Dirk-Jan C. Binnema Helsinki, Finland
e:djcb at djcbsoftware.nl w:www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036
More information about the Xapian-discuss
mailing list