lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kim" <p...@cymfony.com>
Subject issues with concurrent indexing and searching with HitCollector
Date Tue, 14 Jun 2005 15:00:44 GMT
Hi,
I did a quick google search and couldn't find any info on this...

I seem to be having a problem when I try to execute a search using a
HitCollector while the index is being indexed. Does it make sense that I
could be getting this error because the index is being merged while the
HitCollector is sifting through the results and therefore some of the
files are being renamed/deleted/moved?

Here's the error:
java.io.FileNotFoundException: /cym/dciindex/_x22w.fnm (No such file or
directory)
	java.io.RandomAccessFile.open(Native Method)
	java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	
org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java
:376)
	
org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java:405)
	
org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268)
	org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:53)
	
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:109)
	
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:94)
	
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:122)
	org.apache.lucene.store.Lock$With.run(Lock.java:109)
	org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
	org.apache.lucene.index.IndexReader.open(IndexReader.java:95)
	
org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)

Thanks!
peter


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message