Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
SOLR-502 Add search time out support
-
- Closed
-
-
SOLR-506 Enabling HTTP Cache headers should be configurable on a per-handler basis
-
- Closed
-
- is duplicated by
-
SOLR-573 http cache headers should be applied ONLY to query results
-
- Closed
-
- is related to
-
SOLR-127 Make Solr more friendly to external HTTP caches
-
- Closed
-