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

IndexWriter's delete-by-query should optimize/specialize MatchAllDocsQuery

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • None
    • New

    Description

      We can short-circuit this to just IW.deleteAll (Solr already does so I think). This also has the nice side effect of clearing Lucene's low-schema (FieldInfos).

      Attachments

        1. LUCENE-6379.patch
          5 kB
          Michael McCandless
        2. LUCENE-6379.patch
          5 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: