You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/09/27 14:23:44 UTC

[jira] Commented: (SOLR-746) Make it possible to omit responseheader

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

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

The response header is currently set in SolrCore#execute and SolrCore#setResponseHeaderValues. Are there any objections to move this to RequestHandlerBase#handleRequest? That way individual request handlers can suppress headers if so configured.

> Make it possible to omit responseheader
> ---------------------------------------
>
>                 Key: SOLR-746
>                 URL: https://issues.apache.org/jira/browse/SOLR-746
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>             Fix For: 1.4
>
>
> In a lot of cases we do not actually need the data included in the
> header.So we just waste bandwidth, processing to write and read this .
> And there are requests where the responses are quite small and too frequent  (say for auto-suggest feature) where this overhead is unnecessary
> we should add a request parameter omitHeader=true|false . Default
> should be false . If it is true let us not send the header itself
> http://markmail.org/message/rcobnn4g2qyzygmp

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