lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Changing the default FSLockFactory implementation
Date Wed, 31 May 2017 17:58:14 GMT


: We are experiencing some “Lock obtain timed out: NativeFSLock@” issues 
: on or NFS file system, could someone please show me, what’s the right 
: way to switch the Lucene default NativeFSLockFactory to 
: SimpleFSLockFactory?

You can specify the LockFactory used when opening your Directory...

http://lucene.apache.org/core/6_5_0/core/org/apache/lucene/store/FSDirectory.html#open-java.nio.file.Path-org.apache.lucene.store.LockFactory-




-Hoss
http://www.lucidworks.com/

Mime
View raw message