AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
Yeah! You made my day! I will post my new IndexDeletionPolicy, perhaps someone else can use it too! Regards Mirko -Ursprüngliche Nachricht- Von: Michael McCandless [mailto:luc...@mikemccandless.com] Gesendet: Mittwoch, 20. Januar 2010 17:38 An: java-user@lucene.apache.org Betreff: Re:

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
Ok, so does the merging go thru the IndexDeletionPolicy, or do I have to deal with the MergePolicy to take care of merging? Regards Mirko -Ursprüngliche Nachricht- Von: Michael McCandless [mailto:luc...@mikemccandless.com] Gesendet: Mittwoch, 20. Januar 2010 17:12 An: java-user@lucene.a

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
Mike Thank you so much for your feedback! Will the new IndexDeletionPolicy also be considered when segments are merged? Does merging also affect the NFS problem? Should I use IndexReader.reOpen() or just create a new IndexReader? Thanks in advance Mirko -Ursprüngliche Nachricht- Von:

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
Hi Mike Thank you for your feedback! So I would need the following setup: a) Machine A with custom IndexDeletionPolicy and single IndexReader instance b) Machine B with custom IndexDeletionPolicy and single IndexReader instance c) Machine A and B periodically check if the index needs to be reope