Re: Socket and file locks

2009-11-30 Thread Michael McCandless
That pages looks awesome -- thanks for contributing it! Mike On Sun, Nov 29, 2009 at 6:06 PM, Sanne Grinovero wrote: > Hello, > > I'm glad you appreciate it; I've added the Wiki page here: > http://wiki.apache.org/lucene-java/AvailableLockFactories > > I avoided on purpose to copy-paste the full

Re: Socket and file locks

2009-11-29 Thread Sanne Grinovero
Hello, I'm glad you appreciate it; I've added the Wiki page here: http://wiki.apache.org/lucene-java/AvailableLockFactories I avoided on purpose to copy-paste the full javadocs of each implementation as that would be out-of-date or too specific to some version, I limited myself to writing some wo

Re: Socket and file locks

2009-11-29 Thread Michael McCandless
This looks great! Maybe it makes most sense to create a wiki page (http://wiki.apache.org/lucene-java) for interesting LockFactory implementations/tradeoffs, and add this there? Mike On Sat, Nov 28, 2009 at 9:26 AM, Sanne Grinovero wrote: > Hello, > Together with the Infinispan Directory we dev

Re: Socket and file locks

2009-11-28 Thread Sanne Grinovero
Hello, Together with the Infinispan Directory we developed such a LockFactory; I'd me more than happy if you wanted to add some pointers to it in the Lucene documention/readme. This depends on Infinispan for multiple-machines communication (JGroups, indirectly) but it's not required to use an Infin

Re: Socket and file locks

2009-11-27 Thread Michael McCandless
I think a LockFactory for Lucene that implemented the ideas you & Marvin are discussing in LUCENE-1877, and/or the approach you implemented in the H2 DB, would be a useful addition to Lucene! For many apps, the simple LockFactory impls suffice, but for apps where multiple machines can become the