mirror of https://github.com/apache/lucene.git
SOLR-8045: SerachHandler to override the registerV2() and remove registerPath from sample solrconfig.xml
This commit is contained in:
parent
1192d396dd
commit
124b505810
|
@ -478,6 +478,11 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware ,
|
|||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean registerV2() {
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -850,7 +850,7 @@
|
|||
</requestHandler>
|
||||
|
||||
<!-- A request handler that returns indented JSON by default -->
|
||||
<requestHandler name="/query" class="solr.SearchHandler" registerPath="/solr,/v2">
|
||||
<requestHandler name="/query" class="solr.SearchHandler">
|
||||
<lst name="defaults">
|
||||
<str name="echoParams">explicit</str>
|
||||
<str name="wt">json</str>
|
||||
|
|
Loading…
Reference in New Issue