[ https://issues.apache.org/jira/browse/LUCENE-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson resolved LUCENE-4754. ------------------------------------ Resolution: Not A Problem Please raise this kind of issue on the user's list before creating a JIRA. I believe that this is correct behavior. But you haven't provided enough detail to say one way or another. > IndexWriter can't handle old lucene inex format when opened with create mode > ---------------------------------------------------------------------------- > > Key: LUCENE-4754 > URL: https://issues.apache.org/jira/browse/LUCENE-4754 > Project: Lucene - Core > Issue Type: Bug > Affects Versions: 4.1 > Reporter: i30817 > Priority: Minor > > IndexWriter indexWriter = new IndexWriter(cacheDir, > new IndexWriterConfig(Version.LUCENE_41, englishAnalyzer). > setOpenMode(IndexWriterConfig.OpenMode.CREATE)); > Fails with CorruptedIndex subclass, IndexTooOldException (or something like > that), even though the config would just replace the files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org