[jira] Updated: (SOLR-505) Give RequestHandlers the possiblity to suppress the generation of HTTP caching headers

2008-05-21 Thread Otis Gospodnetic (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otis Gospodnetic updated SOLR-505:
--

Fix Version/s: 1.3

 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.



[jira] Updated: (SOLR-505) Give RequestHandlers the possiblity to suppress the generation of HTTP caching headers

2008-05-21 Thread Otis Gospodnetic (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otis Gospodnetic updated SOLR-505:
--


Thomas - just to make it more obvious - it looks like Sean Timm included your 
patch in SOLR-502, so I will look at patches provided with SOLR-502 instead of 
expecting code/patch changes here under SOLR-505.  I hope that's OK and that it 
simplifies things.


 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.



[jira] Updated: (SOLR-505) Give RequestHandlers the possiblity to suppress the generation of HTTP caching headers

2008-03-20 Thread Thomas Peuss (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Peuss updated SOLR-505:
--

Attachment: SOLR-505.patch

* Updated to trunk
* Emits no-cache headers in case of Exeptions

 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
 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.



[jira] Updated: (SOLR-505) Give RequestHandlers the possiblity to suppress the generation of HTTP caching headers

2008-03-18 Thread Thomas Peuss (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Peuss updated SOLR-505:
--

Attachment: SOLR-505.patch

Draft version of a patch.

 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
 Attachments: 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.