[ https://issues.apache.org/jira/browse/LUCENENET-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041604#comment-13041604 ]
Digy commented on LUCENENET-421: -------------------------------- This may happen when two processes/threads access the same index *simultaneously* for writing . IndexWriter doesn't allow it by default but can be bypassed with "IndexWriter.Unlock". Also, might there be other processes accessing the index such as virus scanners etc.? DIGY > Segment files ocasionaly disappearing making index corrupted > ------------------------------------------------------------ > > Key: LUCENENET-421 > URL: https://issues.apache.org/jira/browse/LUCENENET-421 > Project: Lucene.Net > Issue Type: Bug > Components: Lucene.Net Core > Affects Versions: Lucene.Net 2.9.2 > Environment: Media Chase ECF50 in the MastermindToys.com online toy > store, IIS 7 under Win 2008 R2, index on RAID 1 > Reporter: Fedor Taiakin > > IIS 7 under Win 2008 R2, index located on RAID 1 > The only operations Add Document and Delete Document, optimize = false. > Ocasionally the segment files disappear, corrupting index. No other > exceptions prior to inability to open index: > 'C:\Projects\MMT\ECF50\main\src\PublicLayer\SearchIndex\eCommerceFramework\CatalogEntryIndexer\_b6k.cfs'." > ---> System.IO.FileNotFoundException: Could not find file > 'C:\Projects\MMT\ECF50\main\src\PublicLayer\SearchIndex\eCommerceFramework\CatalogEntryIndexer\_b6k.cfs'. > File name: > 'C:\Projects\MMT\ECF50\main\src\PublicLayer\SearchIndex\eCommerceFramework\CatalogEntryIndexer\_b6k.cfs' > at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run() > at Lucene.Net.Index.IndexReader.Open(Directory directory) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira