mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
[DS-3377] Replace GET with POST in simple 'find dspace object' as well
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user