lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ernst (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5871) Simplify or remove use of Version in IndexWriterConfig
Date Thu, 07 Aug 2014 21:53:14 GMT


Ryan Ernst updated LUCENE-5871:

    Attachment: LUCENE-5871.patch

Ok, another patch with the sometimes failing tests now passing (Mike beasted many iterations).
 Solr tests also pass.

I'll commit Friday afternoon PST if there are no objections.

> Simplify or remove use of Version in IndexWriterConfig
> ------------------------------------------------------
>                 Key: LUCENE-5871
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-5871.patch, LUCENE-5871.patch, LUCENE-5871.patch, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message