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

Add buildOnStartup option for suggesters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • 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_solrconfig.patch
          1 kB
          Varun Thacker
        2. tests-failures.txt
          295 kB
          Shalin Shekhar Mangar
        3. SOLR-6845.patch
          26 kB
          Tomas Eduardo Fernandez Lobbe
        4. SOLR-6845.patch
          15 kB
          Tomas Eduardo Fernandez Lobbe
        5. SOLR-6845.patch
          12 kB
          Tomas Eduardo Fernandez Lobbe

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              hossman Chris M. Hostetter
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: