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

Add buildOnStartup option for suggesters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-6679 was filed to track the investigation into the following problem...

      The stock solrconfig provides a bad experience with a large index... start up Solr and it will spin at 100% CPU for minutes, unresponsive, while it apparently builds a suggester index.
      ...
      This is what I did:
      1) indexed 10M very small docs (only takes a few minutes).
      2) shut down Solr
      3) start up Solr and watch it be unresponsive for over 4 minutes!

      I didn't even use any of the fields specified in the suggester config and I never called the suggest request handler.

      ..but ultimately focused on removing/disabling the suggester from the sample configs.

      Opening this new issue to focus on actually trying to identify the root problem & fix it.

        Attachments

        1. SOLR-6845.patch
          12 kB
          Tomás Fernández Löbbe
        2. SOLR-6845.patch
          15 kB
          Tomás Fernández Löbbe
        3. SOLR-6845.patch
          26 kB
          Tomás Fernández Löbbe
        4. tests-failures.txt
          295 kB
          Shalin Shekhar Mangar
        5. SOLR-6845_solrconfig.patch
          1 kB
          Varun Thacker

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                hossman Hoss Man
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: