Hi,
 
We are considering to use glusterfs to replicate indexed data from one box to 
another, I searched
Google and found that some people did seem to use glusterfs for this purpose, 
we are using lucene
3.6.
 
I tested read/write in parallel (thread to search and another thread to index), 
and found from time to
time we have Exceptions:
 
java.io.EOFException: read past EOF: anonymous BuffereIndexInput
        at 
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:264)
        at 
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:40)
        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:107)
        at 
org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:217)
        at 
org.apache.lucene.index.SegmentTermDocs.read(SegmentTermDocs.java:153)
        at org.apache.lucene.search.TermScorer.nextDoc(TermScorer.java:112)
        at org.apache.lucene.search.TermScorer.score(TermScorer.java:67)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:581)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:517)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:487)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:400)
 
We used SimpleFSDirectory, any guidance of using lucene/glusterfs would be 
greatly appreciated.
 
Best regards, Lisheng

Reply via email to