Solr
  1. Solr
  2. SOLR-3141

Deprecate OPTIMIZE command in Solr

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5
    • Fix Version/s: 4.9, Trunk
    • Component/s: update
    • Labels:

      Description

      Background: LUCENE-3454 renames optimize() as forceMerge(). Please read that issue first.

      Now that optimize() is rarely necessary anymore, and renamed in Lucene APIs, what should be done with Solr's ancient optimize command?

      1. SOLR-3141.patch
        0.6 kB
        Yonik Seeley
      2. SOLR-3141.patch
        1.0 kB
        Yonik Seeley

        Issue Links

          Activity

          Jan Høydahl created issue -
          Jan Høydahl made changes -
          Field Original Value New Value
          Link This issue is related to LUCENE-3454 [ LUCENE-3454 ]
          Uwe Schindler made changes -
          Comment [ I am just saying that DIH is wrong to *default* to optimize. It has nothing to do with the naming. I would also argue if DIH would call it forceMerge(1) and default to do it! This slows down incremental DIH updates by O(n^2).

          bq. Are you saying that committers don't know the cost of optimize?

          The people who invented DIH were no committers at the time they wrote it. And those had really no idea, sorry. We all know that DIH code was and is not the best the software industry provides. If we would have a better alternative without locale, threading and unicode bugs, I would svn rm. ]
          Yonik Seeley made changes -
          Attachment SOLR-3141.patch [ 12515185 ]
          Yonik Seeley made changes -
          Attachment SOLR-3141.patch [ 12515188 ]
          Jan Høydahl made changes -
          Link This issue relates to SOLR-3146 [ SOLR-3146 ]
          Hoss Man made changes -
          Fix Version/s 4.0 [ 12314992 ]
          Fix Version/s 3.6 [ 12319065 ]
          Robert Muir made changes -
          Fix Version/s 4.1 [ 12321141 ]
          Fix Version/s 4.0 [ 12314992 ]
          Mark Miller made changes -
          Fix Version/s 4.2 [ 12323893 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.1 [ 12321141 ]
          Robert Muir made changes -
          Fix Version/s 4.3 [ 12324128 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.2 [ 12323893 ]
          Uwe Schindler made changes -
          Fix Version/s 4.4 [ 12324324 ]
          Fix Version/s 4.3 [ 12324128 ]
          Steve Rowe made changes -
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.5 [ 12324743 ]
          Fix Version/s 4.4 [ 12324324 ]
          Adrien Grand made changes -
          Fix Version/s 4.6 [ 12325000 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.5 [ 12324743 ]
          Uwe Schindler made changes -
          Fix Version/s 4.7 [ 12325573 ]
          Fix Version/s 4.6 [ 12325000 ]
          David Smiley made changes -
          Fix Version/s 4.8 [ 12326254 ]
          Fix Version/s 4.7 [ 12325573 ]
          Uwe Schindler made changes -
          Fix Version/s 4.9 [ 12326731 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.8 [ 12326254 ]
          Hoss Man made changes -
          Link This issue is related to SOLR-7733 [ SOLR-7733 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Jan Høydahl
            • Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:

                Development