lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ali koyuncu (JIRA)" <>
Subject [jira] [Created] (LUCENENET-534) IndexWriter deletes all files in my global index folder
Date Wed, 08 Jan 2014 08:42:50 GMT
ali koyuncu created LUCENENET-534:

             Summary: IndexWriter deletes all files in my global index folder
                 Key: LUCENENET-534
             Project: Lucene.Net
          Issue Type: Bug
          Components: .NET API
            Reporter: ali koyuncu
            Priority: Critical

I process new data list in memory-directory. After that I commit memory-directory to disk
directrory. I noticed that After I commit global index writer,isn't combined files.So when
I reopen the service,indexwriter deletes all files in global index folder. I traced codes
"deleter = new IndexFileDeleter(directory, deletionPolicy == null?new KeepOnlyLastCommitDeletionPolicy():deletionPolicy,
segmentInfos, infoStream, docWriter, synced);" in IndexWriter Init method,it deletes all file

I asked it on stackoverlow.

This message was sent by Atlassian JIRA

View raw message