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

Edismax: Out of memory error with a query full of *.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.2.1, 7.4
    • Fix Version/s: None
    • Component/s: faceting, query parsers
    • Labels:
      None
    • Environment:

      Debian 3.2.73-2+deb7u1 x86_64 GNU/Linux

      See env_info.png.

      Description

      Hi,
      using the edismax query parser, a query containing only * (q=********) can crash the Solr node because of an out of memory error.
      Increasing the number of * increases the memory consumption until the OOM error (with 4888 *).

      The file 'select_resp.json' describes the query request (faceting is active).

      Hope this helps.

      Regards.

        Attachments

        1. env_info.png
          200 kB
          Federico Grillini
        2. select_resp.json
          5 kB
          Federico Grillini
        3. solr_oom_killer-8983-2018-07-31_09_27_32.log
          0.1 kB
          Federico Grillini

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              f.grillini@kion.it Federico Grillini
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: