: Is there any article which explains the locks in solr?? : there is some info on solrconfig.txt which says that you can set the lock : type to none(NoLockFactory), single(SingleInstanceLockFactory), : NativeFSLockFactory and simple(SimpleFSLockFactory) which locks everytime we : create a new file.
FYI: That's not at all what the SimpleFSLockFactory does. Index locking is a pretty low level Level concept -- there isn't really anything Solr specific about it. 90% of all Solr users shouldn't need to worry about it, ever. The only time it becomes an issue is if you are planning on doing something extremeley advanced dealing with the Lucene index files directly. if that's the case: your best bet is to read the Locking code and APIs in Lucene, and ask your questions on the java-us...@lucene mailing list. -Hoss