From 1734d03eb9f92d53f99b5652e239064519e1ba79 Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Tue, 1 Mar 2016 09:29:30 +0530 Subject: [PATCH] SOLR-8698: changes the example config to reflect the new behavior --- solr/example/files/conf/params.json | 6 +++++- solr/example/files/conf/solrconfig.xml | 11 ++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/solr/example/files/conf/params.json b/solr/example/files/conf/params.json index 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.xml index 638e0132937..9f0bd38a6c6 100644 --- a/solr/example/files/conf/solrconfig.xml +++ b/solr/example/files/conf/solrconfig.xml @@ -804,15 +804,8 @@ - - - explicit - - - - {!switch v=$type tag=type case='*:*' case.all='*:*' case.unknown='-doc_type:[* TO *]' default=$type_fq} - - + +