Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5871

Simplify or remove use of Version in IndexWriterConfig

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-5871.iwclose.4x.patch
          20 kB
          Michael McCandless
        2. LUCENE-5871.iwclose.trunk.patch
          8 kB
          Michael McCandless
        3. LUCENE-5871.patch
          820 kB
          Ryan Ernst
        4. LUCENE-5871.patch
          819 kB
          Ryan Ernst
        5. LUCENE-5871.patch
          709 kB
          Michael McCandless
        6. LUCENE-5871.patch
          696 kB
          Ryan Ernst
        7. LUCENE-5871.patch
          181 kB
          Ryan Ernst

        Issue Links

          Activity

            People

              rjernst Ryan Ernst
              rjernst Ryan Ernst
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: