mirror of https://github.com/apache/lucene.git
SOLR-8698: changes the example config to reflect the new behavior
This commit is contained in:
parent
6c0846107a
commit
1734d03eb9
|
@ -22,6 +22,10 @@
|
||||||
"debug":"true",
|
"debug":"true",
|
||||||
"hl.simple.pre":"HL_START",
|
"hl.simple.pre":"HL_START",
|
||||||
"hl.simple.post":"HL_END",
|
"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}},
|
"":{"v":0}},
|
||||||
"velocity":{
|
"velocity":{
|
||||||
"wt":"velocity",
|
"wt":"velocity",
|
||||||
|
|
|
@ -804,15 +804,8 @@
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
|
|
||||||
<requestHandler name="/browse" class="solr.SearchHandler" useParams="query,facets,velocity,browse">
|
<!--These useParams values are available in params.json-->
|
||||||
<lst name="defaults">
|
<requestHandler name="/browse" class="solr.SearchHandler" useParams="query,facets,velocity,browse"/>
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
|
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
|
||||||
|
|
Loading…
Reference in New Issue