Re: IndexReplication Client and IndexWriter

2014-04-16 Thread Christoph Kaser
Hi Shai, no problem, thank you for letting me know! Have a nice vacation! Christoph Am 16.04.2014 08:49, schrieb Shai Erera: Hi Christoph, Apologize for the delayed response, I'm on a holiday vacation. I will take a look at your issues as soon as I can. Shai On Fri, Apr 11, 2014 at 12:02

Re: IndexReplication Client and IndexWriter

2014-04-15 Thread Shai Erera
Hi Christoph, Apologize for the delayed response, I'm on a holiday vacation. I will take a look at your issues as soon as I can. Shai On Fri, Apr 11, 2014 at 12:02 PM, Christoph Kaser wrote: > Hello Shai and Mike, > > thank you for your answers! > > I created LUCENE-5597 for this feature. Unfo

Re: IndexReplication Client and IndexWriter

2014-04-11 Thread Christoph Kaser
Hello Shai and Mike, thank you for your answers! I created LUCENE-5597 for this feature. Unfortunately, I am not sure I will be able to provide patches: I don't need this feature at the moment (my interest was more academic) and unfortunately don't have the time to work on this. Additionall

Re: IndexReplication Client and IndexWriter

2014-04-08 Thread Michael McCandless
You might be able to use a class on the NRT replication branch (LUCENE-5438), InfosRefCounts (weird name), whose purpose is to do what IndexFileDeleter does for IndexWriter, ie keep track of which files are still referenced, delete them when they are done, etc. This could used on the client side t

Re: IndexReplication Client and IndexWriter

2014-04-08 Thread Shai Erera
IndexRevision uses the IndexWriter for deleting unused files when the revision is released, as well as to obtain the SnapshotDeletionPolicy. I think that you will need to implement two things on the "client" side: * Revision, which doesn't use IndexWriter. * Replicator which keeps track of how ma

Re: IndexReplication Client and IndexWriter

2014-04-08 Thread Michael McCandless
It's not safe also opening an IndexWriter on the client side. But I agree, supporting tree topology would make sense; it seems like we just need a way for the ReplicationClient to also be a Replicator. It seems like it should be possible, since it's clearly aware of the SessionToken it's pulled fr

IndexReplication Client and IndexWriter

2014-04-08 Thread Christoph Kaser
Hi all, I am trying out the (highly useful) index replicator module (with the HttpReplicator) and have stumbled upon a question: It seems, the IndexReplicationHandler is working directly on the index directory, without using an indexwriter. Could there be a problem if I open an IndexWriter on