From b3c8da0e9970349c307fc81d3dadb2f8123b2ef5 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 1 Mar 2013 01:50:42 +0000 Subject: [PATCH] cache=false for proxy git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451454 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/solr/servlet/SolrDispatchFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java b/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java index 148fd4c4fab..2724c539d4c 100644 --- a/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java +++ b/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java @@ -340,7 +340,7 @@ public class SolrDispatchFilter implements Filter URL url = new URL(urlstr); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setRequestMethod(req.getMethod()); - con.setUseCaches(true); + con.setUseCaches(false); con.setDoOutput(true); con.setDoInput(true);