0

我正在使用 bobo 浏览 API。它支持 zoie 进行实时索引。Zoie 在内部使用 lucene。我正在尝试创建索引,但遇到了以下错误。任何帮助将不胜感激。

Zoie verison 3.0.0.
Lucene 2.9.2
OS : windows 7 64bit

26 Jan 2013 20:50:34,352 ERROR proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader@39bc2399 proj.zoie.impl.indexing.internal.LuceneIndexDataLoader - Problem copying segments: Cannot overwrite: C:\D-Drive\ProfilerNewJourney\releases\AbbottRegulatory\FacetIndexFinal\event\_2.fdt
java.io.IOException: Cannot overwrite: C:\D-Drive\releases\FacetIndex\_2.fdt
    at org.apache.lucene.store.FSDirectory.initOutput(FSDirectory.java:362)
    at org.apache.lucene.store.SimpleFSDirectory.createOutput(SimpleFSDirectory.java:58)
    at org.apache.lucene.index.FieldsWriter.<init>(FieldsWriter.java:61)
    at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:334)
    at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:153)
    at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5045)
    at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4630)
    at org.apache.lucene.index.IndexWriter.resolveExternalSegments(IndexWriter.java:3809)
    at org.apache.lucene.index.IndexWriter.addIndexesNoOptimize(IndexWriter.java:3718)
    at proj.zoie.impl.indexing.internal.BaseSearchIndex.loadFromIndex(BaseSearchIndex.java:234)
    at proj.zoie.impl.indexing.internal.LuceneIndexDataLoader.loadFromIndex(LuceneIndexDataLoader.java:212)
    at proj.zoie.impl.indexing.internal.DiskLuceneIndexDataLoader.loadFromIndex(DiskLuceneIndexDataLoader.java:138)
    at proj.zoie.impl.indexing.internal.RealtimeIndexDataLoader.processBatch(RealtimeIndexDataLoader.java:177)
    at proj.zoie.impl.indexing.internal.BatchedIndexDataLoader$LoaderThread.run(BatchedIndexDataLoader.java:380)
4

1 回答 1

0

问题已解决。文件处理程序由 ZoieSystem 打开。所以重启zoie系统解决了这个问题。有关此线程的更多信息 groups.google.com/forum/?fromgroups=#!topic/zoie/QmYd5-QRXMk – Rocky

于 2013-02-12T22:54:04.940 回答