On 20/10/2015 09:43, Gerald Richter wrote:
Is the searcher thread safe?
In a strict sense, no. But the code is reentrant, so it's possible to use multiple searchers from separate threads as long as each searcher is only used by a single thread.
A user-supplied locking mechanism should work, too. But the Perl bindings use the CLONE_SKIP facility, so Lucy objects can't be shared across Perl threads anyway.
Is there any documentation about the C interface of Lucy?
The C interface will be fully documented in the upcoming 0.5 release. You can find a preview here:
https://rawgit.com/nwellnhof/lucy/generated_docs/c/autogen/share/doc/clownfish/lucy.html Here is some sample code: https://github.com/apache/lucy/tree/master/c/sample Nick
