[
https://issues.apache.org/jira/browse/SOLR-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529323#comment-13529323
]
Yonik Seeley commented on SOLR-3912:
------------------------------------
Looks like this is currently "working as designed".
{quote}
1. ?q=(complex
query)&distrib=false&wt=javabin&rows=24&version=2&NOW=1347911018556&shard.url=(server1)|(server2)&fl=id,score&df=text&start=0&isShard=true&fsv=true
(QTime 2)
{quote}
This is for the first phase to collect IDs.
{quote}
2. ?ids=(ids from query
1)&distrib=false&wt=javabin&rows=24&version=2&df=text&fl=*&shard.url=(server1)|(server2)&NOW=1347911018556&start=0&q=(complex
query)&isShard=true (QTime 4)
{quote}
After merging the top N from each shard, this then requests the stored fields
for the global top N ids.
{quote}
3. ?fl=*&q=(complex query)&wt=json&rows=24 (QTime 459)
{quote}
This is just a log line for the top level request as a whole and encompasses
the previous two. There is no extra query or request associated with this log
line.
I've recently added code in trunk to short-circuit distributed search if you're
only querying one shard and the core that received the request is both active
and hosting that shard.
> Slower query due to distributed query for 1 shard setup
> -------------------------------------------------------
>
> Key: SOLR-3912
> URL: https://issues.apache.org/jira/browse/SOLR-3912
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.0-BETA
> Environment: Windows 2008 R2
> Reporter: Brian Choi
> Assignee: Mark Miller
> Fix For: 4.1, 5.0
>
>
> Query is being distributed executing 3 total from 1 query from the client
> side.
> Shard number is set to 1 and this slows down search result compared to
> non-cloud setup. please see the link
> http://grokbase.com/t/lucene/solr-user/129hacpwpk/help-with-slow-solr-cloud-query
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]