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

MatchAllDocsQuery is much slower in solr5.3.1 compare to solr4.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3, 5.3.1
    • 5.5, 6.0
    • search
    • None

    Description

      I am trying to upgrade our production solr instance from 4.7 to 5.3.1. Unfortunately when I do load testing I find the MatchAllDocsQuery is much slower in solr 5.3.1 compare to 4.7. (solr 5.3.1 is faster in load test with queries other than MatchAllDocsQuery). I asked solr-user and discussed with Yonik Seeley. He confirmed that he can see the problem too comparing solr 5.3.1 and 4.10.

      here is the query I use:

      q={!cache=false}*:*&fq=+categoryIdsPath:1001&fl=id&start=0&rows=2&debug=true
      

      for me the query is consistently about 60-70% slower on solr5 than solr4.

      Yonik mentioned in his email "For me, 5.3.1
      is about 5x slower than 4.10 for this particular query."

      Attachments

        1. Solr 4 vs Solr 5.png
          39 kB
          Stephan Lagraulet

        Issue Links

          Activity

            People

              yseeley@gmail.com Yonik Seeley
              wshen wei shen
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: