Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3142

remove O(n^2) slow slow indexing defaults in DataImportHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • None
    • None

    Description

      By default, dataimporthandler optimizes the entire index when it commits.

      This is bad for performance, because it means by default its doing a very
      heavy index-wide operation even for an incremental update... essentially
      O(n^2) indexing.

      All that is needed is to set optimize=false by default. If someone wants
      to optimize, they can either set optimize=true or explicitly optimize themselves.

      Attachments

        1. SOLR-3142.patch
          1.0 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: