From 27c7579629ec3e9d853aee3924b7ba52c834e945 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 3 Jan 2022 17:19:50 +0100 Subject: [PATCH] fix(solr): make XSLTs output XML proc line & comments #7662 --- conf/solr/config/disable-schemaless.xslt | 3 +-- conf/solr/config/search-boosting.xslt | 29 +++++++++------------ conf/solr/config/static-schema-factory.xslt | 3 +-- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/conf/solr/config/disable-schemaless.xslt b/conf/solr/config/disable-schemaless.xslt index d2b5e32904a..a9a9da12229 100644 --- a/conf/solr/config/disable-schemaless.xslt +++ b/conf/solr/config/disable-schemaless.xslt @@ -1,7 +1,6 @@ - - + diff --git a/conf/solr/config/search-boosting.xslt b/conf/solr/config/search-boosting.xslt index 86750328d24..2d4e8d39987 100644 --- a/conf/solr/config/search-boosting.xslt +++ b/conf/solr/config/search-boosting.xslt @@ -1,7 +1,6 @@ - - + @@ -13,20 +12,16 @@ - - - - + + + This boosting configuration has been + first introduced in 2015, see https://github.com/IQSS/dataverse/issues/1928#issuecomment-91651853, + been re-introduced in 2018 for Solr 7.2.1 update, see https://github.com/IQSS/dataverse/issues/4158, + and finally evolved to the current state later in 2018 https://github.com/IQSS/dataverse/issues/4938 + (merged with https://github.com/IQSS/dataverse/commit/3843e5366845d55c327cdb252dd9b4e4125b9b88) + + Since then, this has not been touched again (2021-12-21). + edismax 0.075 @@ -64,7 +59,7 @@ publicationCitation^75 producerName^75 - + Even though this number is huge it only seems to apply a boost of ~1.5x to final result -MAD 4.9.3 isHarvested:false^25000 diff --git a/conf/solr/config/static-schema-factory.xslt b/conf/solr/config/static-schema-factory.xslt index e3b9c34d437..f154965b30a 100644 --- a/conf/solr/config/static-schema-factory.xslt +++ b/conf/solr/config/static-schema-factory.xslt @@ -1,7 +1,6 @@ - - +