[Xapian-discuss] Filelocks not released

Charlie Hull charlie at juggler.net
Wed Dec 2 09:30:20 GMT 2009


Niels Boldt wrote:
> Hi,
> 
> We are using xapian in .Net with the provided bindings.

Can you confirm you're using the C# bindings?
> 
> Currently we need to move the files forming an index into a database, so an
> index can be shared by several users of the application. It is a desktop
> application.

> So we have a Xapian.WritableDatabase which we do arbitrary updates on and at
> some time we call dispose on the index and then we want to copy the files.
> 
> But this procedure keeps giving us errors because xapian does not release
> the locks it holds on the files, so we cannot get access to copy them. Is it
> not sufficient to call 'Dispose'. Should the object also be finalized before
> the locks on the files are release

If you can post source code that would be very helpful.

Regards

Charlie
> 
> Best Regards
> Niels
> 
> 
> 




More information about the Xapian-discuss mailing list