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

Improve CoreAdmin STATUS request response time by allowing user to omit the Index info

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0, 4.1, 6.0
    • 4.1, 6.0
    • multicore

    Description

      In large multicore environments (hundreds+ of cores), the STATUS request may take a fair amount of time.
      It seems that the majority of time is spent retrieving the index related info.

      The suggested improvement allows the user to specify a parameter (indexInfo) that if 'false' then index related info (such as segmentCount, sizeInBytes, numDocs, etc.) will not be retrieved. By default, the indexInfo will be 'true' (to maintain existing STATUS request behavior).

      For example, when tested on a given machine with 380+ solr cores, the full STATUS request took 800ms-900ms, whereas using indexInfo=false returned results in about 1ms-4ms.

      Attachments

        1. SOLR-4302.patch
          5 kB
          Shahar Davidson

        Activity

          People

            shalin Shalin Shekhar Mangar
            shahar.davidson Shahar Davidson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: