[ https://issues.apache.org/jira/browse/SOLR-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599060#action_12599060 ]
Otis Gospodnetic commented on SOLR-505: --------------------------------------- Thomas - very much fine with me. I, too, was wondering why Sean incorporated your patch in his, but assumed you guys had a deal of some kind (e.g. perhaps you were colleagues working in sync). I'll wait for the new patch, commit, resolve this issue and then I'll move over to SOLR-502 and wait for Sean to make a new and clean patch for that timeout functionality. > Give RequestHandlers the possiblity to suppress the generation of HTTP > caching headers > -------------------------------------------------------------------------------------- > > Key: SOLR-505 > URL: https://issues.apache.org/jira/browse/SOLR-505 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 1.3 > Reporter: Thomas Peuss > Assignee: Otis Gospodnetic > Fix For: 1.3 > > Attachments: SOLR-505.patch, SOLR-505.patch > > > The code from SOLR-127 emits HTTP cache headers for all handlers if > configured. We should not emit cache related headers for update request > handlers. Partial responses (coming from the Timeout request stuff) should > not be cached as well. > To solve this problem we can simply add two methods to the SolrQueryResponse > class (like void setAvoidHTTPCaching(boolean) and boolean > isAvoidHTTPCaching() - the default for the value would be false). The update > request handlers should set this to true all the time. The partial response > stuff can set this to true as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.