mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 22:13:08 +00:00
Revert "[DS-3695] Replace removed default schema settings with query parameters."
This reverts commit 69fcb0ebce
.
This commit is contained in:
@@ -971,15 +971,6 @@ public class SolrLoggerServiceImpl implements SolrLoggerService, InitializingBea
|
||||
.setFacetMinCount(1);
|
||||
addAdditionalSolrYearCores(solrQuery);
|
||||
|
||||
// Can no longer set default field in schema
|
||||
if (null == solrQuery.get("df")) {
|
||||
solrQuery.add("df", "id");
|
||||
}
|
||||
// Can no longer set default match operator in schema
|
||||
if (null == solrQuery.get("q.op")) {
|
||||
solrQuery.add("q.op", "AND");
|
||||
}
|
||||
|
||||
// Set the date facet if present
|
||||
if (dateType != null) {
|
||||
solrQuery.setParam("facet.date", "time")
|
||||
|
Reference in New Issue
Block a user