[英]why lucene 4.0 delete two constructor for IndexWriter class?
[英]Lucene 4.0 on Linux - IndexWriter error: No locks available
尝试在linux
上使用Lucene
索引内容时,出现以下错误消息:
index/write.lock: java.io.IOException: No locks available at org.apache.lucene.store.Lock.obtain(Lock.java:84) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:636)
我的代码可以在Windows
和Mac OS
上完美Mac OS
。
有任何想法吗?
检查要建立索引的文件系统中的锁定服务
ps aux | grep锁定
有关更多信息:
http://lucene.472066.n3.nabble.com/No-locks-available-td2272029.html https://serverfault.com/questions/61594/what-does-no-locks-available-mean
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.