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

TermVectors corruption case when autoCommit=false

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.3.1, 2.4
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I took Yonik's awesome test case (TestStressIndexing2) and extended it to also compare term vectors, and, it's failing.

      I still need to track down why, but it seems likely a separate issue.

      1. LUCENE-1176.take2.patch
        9 kB
        Michael McCandless
      2. LUCENE-1176.patch
        6 kB
        Michael McCandless

        Issue Links

          Activity

          Hide
          mikemccand Michael McCandless added a comment -

          Attached patch that extends TestStressIndexing2 to also check term vectors.

          Show
          mikemccand Michael McCandless added a comment - Attached patch that extends TestStressIndexing2 to also check term vectors.
          Hide
          mikemccand Michael McCandless added a comment -

          Attached patch fixes the corruption case. It happens if you first add docs with no term-vector enabled fields, and then later add at least one doc with term vectors.

          All tests pass. I will commit shortly & backport to 2.3.

          Show
          mikemccand Michael McCandless added a comment - Attached patch fixes the corruption case. It happens if you first add docs with no term-vector enabled fields, and then later add at least one doc with term vectors. All tests pass. I will commit shortly & backport to 2.3.
          Hide
          mikemccand Michael McCandless added a comment -

          Backported to 2.3.

          Show
          mikemccand Michael McCandless added a comment - Backported to 2.3.

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development