[
https://issues.apache.org/jira/browse/LUCENE-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved LUCENE-2505.
----------------------------------------
Resolution: Incomplete
> The system cannot find the file specified - _0.fdt
> --------------------------------------------------
>
> Key: LUCENE-2505
> URL: https://issues.apache.org/jira/browse/LUCENE-2505
> Project: Lucene - Java
> Issue Type: Bug
> Components: core/index
> Affects Versions: 2.4.1
> Reporter: Tej Kiran Sharma
>
> Hi,
> I am using Lucene version 2.4.1 and while i indexing my files i got following
> exception.
> i set indexwriter as following..
> Directory lucDirectory = FSDirectory.getDirectory(_sIndexPath);
> lucDirectory.setLockFactory(new SimpleFSLockFactory(_sIndexPath));
> lucWriter = new IndexWriter(lucDirectory, true, new
> KeywordAnalyzer(), true);
> lucWriter.setMergeFactor(10);
> lucWriter.setMaxMergeDocs(2147483647);
> lucWriter.setMaxBufferedDocs(10000);
> lucWriter.setRAMBufferSizeMB(32);
> lucWriter.setUseCompoundFile(false);
> I am doing indexing and searching both symultaniously.... and i am getting
> following exception < the system cannot find the file specified >
> "ERROR Exception while checking size -
> C:\00scripts\Temp\TempIndex\20104261030775\_0.fdt (The system cannot find the
> file specified)Stacktrace java.io.FileNotFoundException:
> C:\00scripts\Temp\TempIndex\20104261030775\_0.fdt (The system cannot find the
> file specified) at java.io.RandomAccessFile.open(Native Method) at
> java.io.RandomAccessFile.<init>(Unknown Source) at
> org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(Unknown
> Source) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(Unknown
> Source) at org.apache.lucene.store.FSDirectory.openInput(Unknown Source)
> at org.apache.lucene.index.FieldsReader.<init>(Unknown Source) at
> org.apache.lucene.index.SegmentReader.initialize(Unknown Source) at
> org.apache.lucene.index.SegmentReader.get(Unknown Source) at
> org.apache.lucene.index.SegmentReader.get(Unknown Source) at
> org.apache.lucene.index.DirectoryIndexReader$1.doBody(Unknown Source)
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(Unknown Source)
> at org.apache.lucene.index.DirectoryIndexReader.open(Unknown Source) at
> org.apache.lucene.index.IndexReader.open(Unknown Source) at
> org.apache.lucene.index.IndexReader.open(Unknown Source) at
> org.apache.lucene.search.IndexSearcher.<init>(Unknown Source) at
> com..main.apu.d(Unknown Source) at com..main.apu.a(Unknown Source)
> at com.main.arn.a(Unknown Source) at com.main.abh.b(Unknown Source)
> at com.main.abh.a(Unknown Source) at com..main.abh.f(Unknown Source)
> at com.main.eu.run(Unknown Source)"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]