lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1143) Return partial results when a connection to a shard is refused
Date Wed, 01 Dec 2010 23:02:28 GMT

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

Shawn Heisey commented on SOLR-1143:
------------------------------------

I tried this patch, then we put SOLR-1537 into production on 1.5-dev.  When we finally abandoned
our old search software and reclaimed its hardware, we decided to use 1.4.1 and a distributed+replicated
architecture with a load balancer.  IMHO, production setups require true fault tolerance where
a single failure produces no service degradation beyond slightly slower queries.  These patches
are a band-aid.

> 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
>            Assignee: Grant Ingersoll
>             Fix For: Next
>
>         Attachments: SOLR-1143-2.patch, SOLR-1143-3.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.


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


Mime
View raw message