I know webMethods MWS uses lucene search because it keeps having two errors pop up in the system logs:
- 2009-08-27 10:37:28 PDT (search : WARN) - read past EOF
java.io.IOException: read past EOF
at org.apache.lucene.index.CompoundFileReader$CSInputStream.readInternal(CompoundFileReader.java:218)
at org.apache.lucene.store.InputStream.readBytes(InputStream.java:61)
at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:356)
at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:323)
at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger.java:422)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:94)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:487)
at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:366)
at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:381)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService.mergeRamDirectoryToDisk(LuceneSearchService.java:1178)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService.mergeAllRamDirectoriesToDisk(LuceneSearchService.java:1211)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService$MergeThread.run(LuceneSearchService.java:207)
2009-08-27 10:38:10 PDT (search : WARN) - E:\webMethods712\MWS\server\default\data\logging\portalLoggingLibrary_5k.fnm (The system cannot find the file specified)
2)2009-08-27 10:39:10 PDT (search : WARN) - E:\webMethods712\MWS\server\default\data\logging\portalLoggingLibrary_5k.fnm (The system cannot find the file specified)
java.io.FileNotFoundException: E:\webMethods712\MWS\server\default\data\logging\portalLoggingLibrary_5k.fnm (The system cannot find the file specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at org.apache.lucene.store.FSInputStream$Descriptor.(FSDirectory.java:376)
at org.apache.lucene.store.FSInputStream.(FSDirectory.java:405)
at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268)
at org.apache.lucene.index.FieldInfos.(FieldInfos.java:53)
at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:109)
at org.apache.lucene.index.SegmentReader.(SegmentReader.java:94)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:480)
at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:366)
at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:381)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService.mergeRamDirectoryToDisk(LuceneSearchService.java:1178)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService.mergeAllRamDirectoriesToDisk(LuceneSearchService.java:1211)
at com.webMethods.portal.service.search.impl.lucene.LuceneSearchService$MergeThread.run(LuceneSearchService.java:207)
My question is two fold
- How do I fix these annoying errors? Do I have to open a SR?
- I am uploading files using MWS’s attachment - how do I tell Lucene engine to search these files - PDF or DOC - or can it even scan these type or can it even be told other areas to scan?