mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 22:13:08 +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());
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user