-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search - Mass indexing creating corrupt index
PostPosted: Fri Aug 26, 2011 11:54 am 
Newbie

Joined: Tue May 24, 2011 3:23 pm
Posts: 6
I'm getting this exception thrown over and over with differnet file names. Not sure what's causing it but it wasn't happening before today. Using HS 3.4.0.Final with Lucene Core 3.1.0, and I haven't changed that version at all recently.

Any ideas on what might've changed that would cause this issue?

ERROR 25 Aug 2011 14:12:25,763 LogErrorHandler - Exception occurred org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /../../../../[index]/_19j.cfs (No such file or directory)

org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /../../../../[index]/_19j.cfs (No such file or directory)
at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:517)
at org.hibernate.search.backend.impl.lucene.overrides.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:49)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)
Caused by: java.io.FileNotFoundException: /../../../../[index]/_19j.cfs (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:69)
at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:90)
at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:91)
at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78)
at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:66)
at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:113)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:578)
at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:684)
at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3918)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3614)
at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:388)
at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:456)


Top
 Profile  
 
 Post subject: Re: Hibernate Search - Mass indexing creating corrupt index
PostPosted: Fri Aug 26, 2011 2:04 pm 
Newbie

Joined: Tue May 24, 2011 3:23 pm
Posts: 6
Fixed the issue.. stupid mistake actually, build script wasn't placing the WAR file I was using in the correct directory and I was uploading an old version, which the indexed classes had different names.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.