You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rich Cariens (JIRA)" <ji...@apache.org> on 2010/11/25 18:24:13 UTC

[jira] Created: (SOLR-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

Solr should be able to keep on truckin' if a shard fails during a distributed search
------------------------------------------------------------------------------------

                 Key: SOLR-2253
                 URL: https://issues.apache.org/jira/browse/SOLR-2253
             Project: Solr
          Issue Type: Improvement
          Components: search
    Affects Versions: 1.4.1
         Environment: All
            Reporter: Rich Cariens
            Priority: Critical


Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SOLR-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936132#action_12936132 ] 

Lance Norskog commented on SOLR-2253:
-------------------------------------

[SOLR-1143|https://issues.apache.org/jira/browse/SOLR-1143] 
[We've already been around the block on this one :)|http://en.wikipedia.org/wiki/Simpsons_Already_Did_It]

Thanks for your enthusiasm!



> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Issue Comment Edited: (SOLR-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

Posted by "Rich Cariens (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935806#action_12935806 ] 

Rich Cariens edited comment on SOLR-2253 at 11/25/10 9:10 PM:
--------------------------------------------------------------

I've attached a patch for the following classes:

  org.apache.solr.handler.component.SearchHandler
  org.apache.solr.common.params.CommonParams

and the example search request handler configuration:

  example/solr/conf/solrconfig.xml

To see this patch in action, apply it at the solr root and run "ant example".  Then follow the distributed search example instructions (http://wiki.apache.org/solr/DistributedSearch#Distributed_Search_Example) to get two Solr instances running locally.  Run the curl command to search across both instances.  Stop the instance that's listening on port 7574 and re-run the curl command.  You will get a search response containing a header that reports you've got partial results, as well as which shard failed.

      was (Author: cariensrs):
    I've attached a patch for the following classes:

  org.apache.solr.handler.component.SearchHandler
  org.apache.solr.common.params.CommonParams

and the example search request handler configuration:

  example/solr/conf/solrconfig.xml
  
> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] [Resolved] (SOLR-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

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

Tommaso Teofili resolved SOLR-2253.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 4.0
    
> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>             Fix For: 4.0
>
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

--
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-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

Posted by "Rich Cariens (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935806#action_12935806 ] 

Rich Cariens edited comment on SOLR-2253 at 11/25/10 2:12 PM:
--------------------------------------------------------------

I've attached a patch for the following classes:

  org.apache.solr.handler.component.SearchHandler
  org.apache.solr.common.params.CommonParams

and the example search request handler configuration:

  example/solr/conf/solrconfig.xml

      was (Author: cariensrs):
    Patches the following classes:

  org.apache.solr.handler.component.SearchHandler
  org.apache.solr.common.params.CommonParams

and the example search request handler configuration:

  example/solr/conf/solrconfig.xml
  
> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] [Commented] (SOLR-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

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

Tommaso Teofili commented on SOLR-2253:
---------------------------------------

I think we can mark this one as duplicate of SOLR-1143
                
> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

--
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-2253) Solr should be able to keep on truckin' if a shard fails during a distributed search

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

Rich Cariens updated SOLR-2253:
-------------------------------

    Attachment: SOLR-2253.patch

Patches the following classes:

  org.apache.solr.handler.component.SearchHandler
  org.apache.solr.common.params.CommonParams

and the example search request handler configuration:

  example/solr/conf/solrconfig.xml

> Solr should be able to keep on truckin' if a shard fails during a distributed search
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-2253
>                 URL: https://issues.apache.org/jira/browse/SOLR-2253
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.4.1
>         Environment: All
>            Reporter: Rich Cariens
>            Priority: Critical
>         Attachments: SOLR-2253.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Solr 1.4.x currently abandons searches if a shard fails during a distributed search.  A trivial patch to the SearchHandler class would allow the user to tell Solr to "keep on trucking" in these cases.  Solr can indicate that the search response is "partial" via existing response header conventions, as well as include details about which shard failed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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