You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (Created) (JIRA)" <ji...@apache.org> on 2012/02/15 04:36:03 UTC

[jira] [Created] (SOLR-3134) Include shard Information in response

Include shard Information in response
-------------------------------------

                 Key: SOLR-3134
                 URL: https://issues.apache.org/jira/browse/SOLR-3134
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
            Reporter: Ryan McKinley
            Assignee: Ryan McKinley
             Fix For: 4.0


For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.

In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Issue Comment Edited] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217517#comment-13217517 ] 

Russell Black edited comment on SOLR-3134 at 2/27/12 8:21 PM:
--------------------------------------------------------------

Yup, bug is on trunk as well.  Looking into it.  
                
      was (Author: rblack):
    Yup, but is on trunk as well.  Looking into it.  
                  
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated SOLR-3134:
-----------------------------

    Attachment: SOLR-3134-shard-info-3_6-backport.patch

Fix 3_x-backport to work with 3_6
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_6-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Black updated SOLR-3134:
--------------------------------

    Attachment:     (was: SOLR-3134-shard-info-3_x-backport.patch)
    
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Ryan McKinley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213161#comment-13213161 ] 

Ryan McKinley commented on SOLR-3134:
-------------------------------------

Any thoughts on this?

I'd like to commit this soon, but I assume there would be more opinions on this
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Ryan McKinley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218962#comment-13218962 ] 

Ryan McKinley commented on SOLR-3134:
-------------------------------------

Thanks Russell -- that test is very helpful!

I added to trunk in revision: 1294995

I'll take a stab at merging with 3.x
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215917#comment-13215917 ] 

Russell Black commented on SOLR-3134:
-------------------------------------

Nice work! I may try to backport this to 3.5.  
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217517#comment-13217517 ] 

Russell Black commented on SOLR-3134:
-------------------------------------

Yup, but is on trunk as well.  Looking into it.  
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Comment Edited] (SOLR-3134) Include shard Information in response

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400491#comment-13400491 ] 

Igor Galić edited comment on SOLR-3134 at 6/25/12 2:51 PM:
-----------------------------------------------------------

Fix 3_x-backport to work with 3_6

oh, well.. Doesn't actually compile :-/
                
      was (Author: i.galic):
    Fix 3_x-backport to work with 3_6
                  
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_6-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Black updated SOLR-3134:
--------------------------------

    Attachment: SOLR-3134-shard-info-3_6.patch

Igor, 

Your patch was close it was just missing a few things.  Here is the 3.6 patch that we have been using in our system for some time.  It compiles and test cases pass.  I named it SOLR-3134-shard-info-3_6.patch
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_6-backport.patch, SOLR-3134-shard-info-3_6.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216503#comment-13216503 ] 

Russell Black commented on SOLR-3134:
-------------------------------------

I backported to 3_5 but I'm not posting the patch because it doesn't operate correctly on about half the requests.  I'm testing it with two shards, one up and one down.  Half of the time it works as expected: I get back shard info for both shards plus results from the "up" shard.   The other half of the time it returns shard info for only the "down" shard and zero results.  I'm guessing there is a race condition based on which which server responds (or doesn't) first.  I wonder if this bug exists on the 4.0 branch.  
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227806#comment-13227806 ] 

Russell Black commented on SOLR-3134:
-------------------------------------

Hi Ryan, 

Sorry to keep bothering you about this, but can you comment on your intentions with respect to committing the 3x patch?


                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222381#comment-13222381 ] 

Russell Black commented on SOLR-3134:
-------------------------------------

Ryan, 
Are you still planning to commit the 3x patch?  We'd love to have this feature in 3.6. 
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Ryan McKinley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-3134:
--------------------------------

    Attachment: SOLR-3134-shard-info.patch

This patch addes two parameters:

{code:java}
  /** Request detailed match info for each shard (true/false) */
  public static final String SHARDS_INFO = "shards.info";

  /** Should things fail if there is an error? (true/false) */
  public static final String SHARDS_TOLERANT = "shards.tolerant";
{code}

When 'shards.info=true', it adds adds a node to the response:
{code:xml}
<lst name="shards.info">
  <lst name="localhost:7777/solr">
    <long name="numFound">1333</long>
    <float name="maxScore">1.0</float>
    <long name="time">686</long>
  </lst>
  <lst name="localhost:8888/solr">
    <long name="numFound">342</long>
    <float name="maxScore">1.0</float>
    <long name="time">602</long>
  </lst>
</lst>
{code}

When 'shards.tolerant=true' it does not abort when a request has an error.  If 'shards.info=true', it will add error info to the response for that shard, like:

{code:xml}
<lst name="shards.info">
  <lst name="badurl:3456/solr">
    <str name="error">java.net.UnknownHostException: badurl</str>
    <str name="trace">java.net.UnknownHostException: badurl
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:176)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
	at java.net.Socket.connect(Socket.java:579)
	at java.net.Socket.connect(Socket.java:528)
	at java.net.Socket.<init>(Socket.java:425)
	at java.net.Socket.<init>(Socket.java:280)
	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:425)
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:251)
	at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:153)
	at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:1)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)</str>
    <long name="time">2622</long>
  </lst>
  <lst name="localhost:8888/solr">
    <long name="numFound">342</long>
    <float name="maxScore">1.0</float>
    <long name="time">602</long>
  </lst>
</lst>
{code}


                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Black updated SOLR-3134:
--------------------------------

    Attachment: SOLR-3134-shard-info-3_x-backport.patch
                SOLR-3134-shard-info-3_5-backport.patch

Hi Ryan,

I backported this patch to 3.5 and 3.x. I'd like to get this feature in the next 3.x release.  Would it be possible to get this patch committed to the 3x branch?
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-3134) Include shard Information in response

Posted by "Ryan McKinley (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-3134.
---------------------------------

    Resolution: Fixed

added in revision: 1292717
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Black updated SOLR-3134:
--------------------------------

    Attachment: SOLR-3134-shard-info-fix.patch

Ryan, 

I have fixed the bug and submitted a patch.  This is a patch against the current 4.0 trunk and is intended to be applied on top of the changes represented by your first patch. I've enriched the test case as well.  Please take a look and tell me what you think. 
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3134) Include shard Information in response

Posted by "Russell Black (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russell Black updated SOLR-3134:
--------------------------------

    Attachment: SOLR-3134-shard-info-3_x-backport.patch

Ryan, 

Backporting to 3x should be straightforward, I've attached patch targeted at 3x which you can use if you wish.  
                
> Include shard Information in response
> -------------------------------------
>
>                 Key: SOLR-3134
>                 URL: https://issues.apache.org/jira/browse/SOLR-3134
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3134-shard-info-3_5-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-3_x-backport.patch, SOLR-3134-shard-info-fix.patch, SOLR-3134-shard-info.patch
>
>
> For distributed search where each shard represents a logically different index (or physical location), it would be great to know the hit count for each shard.
> In addition, it would be nice to get error info for each shard rather then aborting the whole request when something fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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