lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SOLR-1143) Return partial results when a connection to a shard is refused
Date Tue, 18 Aug 2009 14:21:14 GMT

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

Grant Ingersoll edited comment on SOLR-1143 at 8/18/09 7:19 AM:
----------------------------------------------------------------

{quote}
In this patch you return a partial result when a shard has failed by setting partialResults
to true in the request or if you want it to for all requests your can add <bool name="return-partial-results">true</bool>
to your search handler in your solrconfig.xml. If both are not specified, partial results
are disabled. Currently the partialResults parameter overrides the return-partial-results
property in the search handler.
{quote}

I'm not sure about the need for the return-partial-results static boolean.  This could just
be handled through the RequestHandler defaults, right?

      was (Author: gsingers):
    I'm not sure about the need for the return-partial-results static boolean.  This could
just be handled through the RequestHandler defaults, right?
  
> Return partial results when a connection to a shard is refused
> --------------------------------------------------------------
>
>                 Key: SOLR-1143
>                 URL: https://issues.apache.org/jira/browse/SOLR-1143
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Nicolas Dessaigne
>             Fix For: 1.4
>
>         Attachments: SOLR-1143-2.patch, SOLR-1143.patch
>
>
> If any shard is down in a distributed search, a ConnectException it thrown.
> Here's a little patch that change this behaviour: if we can't connect to a shard (ConnectException),
we get partial results from the active shards. As for TimeOut parameter (https://issues.apache.org/jira/browse/SOLR-502),
we set the parameter "partialResults" at true.
> This patch also adresses a problem expressed in the mailing list about a year ago (http://www.nabble.com/partialResults,-distributed-search---SOLR-502-td19002610.html)
> We have a use case that needs this behaviour and we would like to know your thougths
about such a behaviour? Should it be the default behaviour for distributed search?

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


Mime
View raw message