Upgrade to current Lucene 5.0.0 snapshot #8588
A few recent lucene changes to fold in:
We've removed IndexWriter.unLock in Lucene, so I also removed "clear
I exposed the new SerbianNormalizationFilterFactory.
I noticed that we silently use NoLockFactory if you have a typo in
The trickiest change was DistributorDirectory, and how it tracks the
I added some harmless "synchronized" to methods (all callers of these
I also fixed ConcurrentMergeSchedulerProvider to disable Lucene's CMS
See my comments above. Otherwise its correct API-wise. It also took me a long time while refactoring LockFactory in Lucene that you don't need one in most cases. LockFactory is just an implementation detail of BaseDirectory which should only be used for actual "real" directory implementations. Everything that wraps or filters should use Directory (for complex delegation like FileSwitchDirectory) or FilterDirectory (for simple delagation).