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

Shalin Shekhar Mangar commented on SOLR-5535:
---------------------------------------------

You're right Steve. I agree that we should set this header. Another reason is 
that in the absence of this header, http cache headers are set on the response. 
We shouldn't set http cache headers if some shards had failed to respond.

Do you have a patch?

> The "partialResults" header should be set for shards that error out using 
> shards.tolerant
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-5535
>                 URL: https://issues.apache.org/jira/browse/SOLR-5535
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.5
>            Reporter: Steve Davids
>             Fix For: 5.0, 4.7
>
>
> Currently the only way to know if shards error out while using the 
> shards.tolerant flag is to set the shards.info flag and iterate through each 
> shard's info to see if an error is reported.
> The "partialResults" response header value should be set when errors are 
> detected from distributed searches. This header value is currently being used 
> by the timeAllowed request parameter if shards don't respond in time. This 
> change will provide a more consistent mechanism to detect distributed search 
> errors.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to