SOLR-8698: changes the example config to reflect the new behavior

This commit is contained in:
Noble Paul 2016-03-01 09:29:30 +05:30
parent 6c0846107a
commit 1734d03eb9
2 changed files with 7 additions and 10 deletions

View File

@ -22,6 +22,10 @@
"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",

View File

@ -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">