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

Simplify or remove use of Version in IndexWriterConfig

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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.trunk.patch
          8 kB
          Michael McCandless
        2. LUCENE-5871.iwclose.4x.patch
          20 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: