[
https://issues.apache.org/jira/browse/SOLR-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168774#comment-14168774
]
Anshum Gupta edited comment on SOLR-6616 at 10/12/14 8:12 PM:
--------------------------------------------------------------
>From the documentation it seems like it's expected behavior right now.
>From https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters:
{quote}
Defines the time allowed for the query to be processed. If the time elapses
before the query response is complete, partial information may be returned.
{quote}
However, I think we should start returning the error and return partial results
only when shards.tolerant is set to true.
was (Author: anshumg):
>From the documentation it seems like it's expected behavior right now.
{quote}
Defines the time allowed for the query to be processed. If the time elapses
before the query response is complete, partial information may be returned.
{quote}
However, I think we should start returning the error and return partial results
only when shards.tolerant is set to true.
> Make shards.tolerant and timeAllowed work together
> --------------------------------------------------
>
> Key: SOLR-6616
> URL: https://issues.apache.org/jira/browse/SOLR-6616
> Project: Solr
> Issue Type: Bug
> Reporter: Anshum Gupta
> Assignee: Anshum Gupta
>
> From SOLR-5986:
> {quote}
> As of now, when timeAllowed is set, we never get back an exception but just
> partialResults in the response header is set to true in case of a shard
> failure. This translates to shards.tolerant being ignored in that case.
> On the code level, the TimeExceededException never reaches ShardHandler and
> so the Exception is never set (similarly for ExitingReaderException) and/or
> returned to the client.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]