Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

doc: note about native locks not working for multiple webapps in same JVM

Yonik Seeley9ad659ddacf6
diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml
index f3e83b8f74b..e77995b4673 100755
--- a/example/solr/conf/solrconfig.xml
+++ b/example/solr/conf/solrconfig.xml
@@ -130,7 +130,8 @@
single = SingleInstanceLockFactory - suggested for a read-only index
or when there is no possibility of another process trying
to modify the index.
- native = NativeFSLockFactory - uses OS native file locking
+ native = NativeFSLockFactory - uses OS native file locking.
+ Do not use with multiple solr webapps in the same JVM.
simple = SimpleFSLockFactory - uses a plain file for locking
(For backwards compatibility with Solr 1.2, 'simple' is the default