Apache Lucene open-source search software
SOLR-8698: changes the example config to reflect the new behavior
Noble Paul1734d03eb9f9
diff --git a/solr/example/files/conf/params.json b/solr/example/files/conf/params.jsonindex d93c1d9232f..22aadccdd07 100644--- a/solr/example/files/conf/params.json+++ b/solr/example/files/conf/params.json@@ -22,9 +22,13 @@"debug":"true","hl.simple.pre":"HL_START","hl.simple.post":"HL_END",+ "echoParams": "explicit",+ "_appends_": {+ "fq": "{!switch v=$type tag=type case='*:*' case.all='*:*' case.unknown='-doc_type:[* TO *]' default=$type_fq}"+ },"":{"v":0}},"velocity":{"wt":"velocity","v.template":"browse","v.layout":"layout",- "":{"v":0}}}}\ No newline at end of file+ "":{"v":0}}}}diff --git a/solr/example/files/conf/solrconfig.xml b/solr/example/files/conf/solrconfig.xmlindex 638e0132937..9f0bd38a6c6 100644--- a/solr/example/files/conf/solrconfig.xml+++ b/solr/example/files/conf/solrconfig.xml@@ -804,15 +804,8 @@</requestHandler>- <requestHandler name="/browse" class="solr.SearchHandler" useParams="query,facets,velocity,browse">- <lst name="defaults">- <str name="echoParams">explicit</str>- </lst>-- <lst name="appends">- <str name="fq">{!switch v=$type tag=type case='*:*' case.all='*:*' case.unknown='-doc_type:[* TO *]' default=$type_fq}</str>- </lst>- </requestHandler>+ <!--These useParams values are available in params.json-->+ <requestHandler name="/browse" class="solr.SearchHandler" useParams="query,facets,velocity,browse"/><initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">