lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Svensson (JIRA)" <>
Subject [jira] [Commented] (LUCENENET-534) IndexWriter deletes all files in my global index folder
Date Mon, 20 Jan 2014 16:47:20 GMT


Simon Svensson commented on LUCENENET-534:

We're looking for the minimum amount of code needed to reproduce the problem in our respective
development environment. Can you produce a small stand-alone code sample _that compiles and
can be executed_ in the form av a console-application (or unit-test) that we can execute locally
to debug the issue? Preferably commented to show _where_ the unexpected behavior occurs.

Basically, we would very much like a simple `public static void Main() { ... }` which reproduces
the problem.

> 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