Xapian concurrency

"Dirk-Jan C. Binnema" <[email protected]> Sun, 28 Apr 2024 23:10:12 +0300
Newsgroups gmane.comp.search.xapian.general
Message-ID <[email protected]>
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:[email protected]           w:www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036