[ https://issues.apache.org/jira/browse/LUCENE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087780#comment-14087780 ]
Shai Erera commented on LUCENE-5871: ------------------------------------ I guess what I'm trying to say is, if we make this IWC setter, maybe we could remove shutdown and stick w/ only close(). That will at least remove a slew of warnings in eclipse that IndexWriter is an unclosed resource :). > Simplify or remove use of Version in IndexWriterConfig > ------------------------------------------------------ > > Key: LUCENE-5871 > URL: https://issues.apache.org/jira/browse/LUCENE-5871 > Project: Lucene - Core > Issue Type: Bug > Reporter: Ryan Ernst > Attachments: LUCENE-5871.patch > > > {{IndexWriter}} currently uses Version from {{IndexWriterConfig}} to > determine the semantics of {{close()}}. This is a trapdoor for users, as > they often default to just sending Version.LUCENE_CURRENT since they don't > understand what it will be used for. Instead, we should make the semantics > of close a direction option in IWC. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org