lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ali koyuncu (JIRA)" <>
Subject [jira] [Commented] (LUCENENET-534) IndexWriter deletes all files in my global index folder
Date Tue, 21 Jan 2014 09:12:21 GMT


ali koyuncu commented on LUCENENET-534:

1- Yes I am using a WinForm.
2- You want to see minimum amount of code. So I removed some code. btnStartService_Click isn't
called in fact.
3- I have created index folder daily. İf fiAktifYes that is folder of today is not exist
, create a new index Folder. I changed fiAktifYes to True and False. But I have gotten same
bug both of True and False.
4- Yes compound files are slower than the normal format. But if the normal format is used
, i have gotten memory exception. I had researched reason of this exception but i am not remember
it now.

> IndexWriter deletes all files in my global index folder
> -------------------------------------------------------
>                 Key: LUCENENET-534
>                 URL:
>             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.  After I commit global index writer,I see the files isn't combined.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