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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: