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

IndexWriter.tryDeleteDocument does not work

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 4.3, 4.5, 4.6, 4.7, 4.8, 4.8.1
    • None
    • core/index
    • None
    • New

    Description

      I am using "fresh"a and opened reader.
      One segement and 3 documents in index.
      tryDeleteDocument always return false, i deep into your code, and see follow, that
      segmentInfos.indexOf(info)
      always return -1 because org.apache.lucene.index.SegmentInfoPerCommit doesnot have equals method, see screenshoot for more inforamtion http://postimg.org/image/jvtezvqnn/

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            zhuravskiy.vs Zhuravskiy Vitaliy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: