Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-534

IndexWriter deletes all files in my global index folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Feedback Received
    • Lucene.Net 3.0.3
    • None
    • .NET API
    • None

    Description

      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 here.

      I asked it on stackoverlow. http://stackoverflow.com/questions/20973121/lucene-net-indexwriter-bug?noredirect=1#comment31536841_20973121

      Attachments

        Activity

          People

            Unassigned Unassigned
            alikoyuncu ali koyuncu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: