Solr
  1. Solr
  2. SOLR-3142

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. SOLR-3142.patch
        1.0 kB
        Robert Muir

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development