You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "wei shen (JIRA)" <ji...@apache.org> on 2015/12/09 20:44:11 UTC

[jira] [Comment Edited] (SOLR-8251) MatchAllDocsQuery is much slower in solr5.3.1 compare to solr4.7

    [ https://issues.apache.org/jira/browse/SOLR-8251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049262#comment-15049262 ] 

wei shen edited comment on SOLR-8251 at 12/9/15 7:43 PM:
---------------------------------------------------------

thanks. I tried and seem the problem still exist. The compiled trunk version is constantly 50% slower than solr 4.7 (about 94-100ms vs 60-65 ms)

from email thread talking about this on Nov/6, when I try solr 5.3.1, the difference is larger: "I tried that, on solr5 the query time is around 100-110ms, and on solr4 it is around 60-63ms(very consistent). Solr5 is slower."

so I can see it getting faster compare to solr 5.3.1, but still much slower than solr 4.7. I verified my checkout from branch_5x, the file lucene/CHANGE.txt contain line LUCENE-6889.


was (Author: wshen):
thanks. I tried and seem the problem still exist. The compiled trunk version is constantly 50% slower than solr 4.7 (about 94-100ms vs 60-65 ms)

from email thread talking about this on Nov/6, when I try solr 5.3.1, the difference is larger: "I tried that, on solr5 the query time is around 100-110ms, and on solr4 it is around 60-63ms(very consistent). Solr5 is slower."

so I can see it getting faster compare to solr 5.3.1, but still much slower than solr 4.7. I verified my checkout from branch_5x, the file lucene/CHANGE.txt contain line LUCENE_6889.

> MatchAllDocsQuery is much slower in solr5.3.1 compare to solr4.7
> ----------------------------------------------------------------
>
>                 Key: SOLR-8251
>                 URL: https://issues.apache.org/jira/browse/SOLR-8251
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 5.3, 5.3.1
>            Reporter: wei shen
>             Fix For: 5.5
>
>
> 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:
> {code}
> q={!cache=false}*:*&fq=+categoryIdsPath:1001&fl=id&start=0&rows=2&debug=true
> {code}
> 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."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org