Is this preventing you to upgrade Search to Lucene 4.7?
That's the missing piece. Everything else works, just have tests failures in the infinispan module. Here is an example:
I can take care of this, it's quite a minefield of backwards compatibility requirements.
If you want. I finally have Infinispan configured in my IDE though and I kind of see what I need to do. I guess I would need something similar to DirectoryBuilderImpl#create in BaseLockFactory (or somewhere in this care). Depending on the Lucene version I need to return an appropriate instance of Lock.
I actually tried to implement #release() and #lock at the same time in BaseLuceneLock, but that did not work
The class is still not compatible then when run with Lucene 4.7.
Just let me know if you fix this, then I leave it for now.
BTW If you can't upgrade Search to 4.7 without an Infinispan release first, it's getting messy. We would need an Infinispan release, and the Infinispan patch would need to support both Lucene 3, and Lucene 4.6 and Lucene 4.7 (both!).
I can upgrade, but the Infinispan DirectoryProvider would be broken until a new updated Infinspan release is available. Probably not so nice. Why would you need to support 3, 4.6 and 4.7. That sounds terrible (and is btw not what I have been working on the last couple of hours)?
Ok. Right now, I have also other things I want to finish first. Let's see who gets to it first. We just need to make sure t sync in case either one of us starts working on this.