[DS-3377] Replace GET with POST in simple 'find dspace object' as well

This commit is contained in:
Kim Shepherd
2018-05-03 10:54:42 +12:00
parent 87300f4108
commit 2d37722357

View File

@@ -1996,7 +1996,7 @@ public class SolrServiceImpl implements SearchService, IndexingService {
HttpPost post = new HttpPost(hostURL.toHostString()); HttpPost post = new HttpPost(hostURL.toHostString());
List<NameValuePair> postParameters = new ArrayList<>(); List<NameValuePair> postParameters = new ArrayList<>();
postParameters.add(new BasicNameValuePair("q",query.toString()); postParameters.add(new BasicNameValuePair("q",query.toString()));
HttpResponse response = getSolr().getHttpClient().execute(post); HttpResponse response = getSolr().getHttpClient().execute(post);