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",
|
||||
"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",
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue