mirror of https://github.com/apache/lucene.git
SOLR-59, make echoParams=explicit the default in the example config
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17dee73e4e
commit
7fdba93037
|
@ -154,9 +154,11 @@ Changes in runtime behavior
|
||||||
not all stored fields are needed from a document (klaas, SOLR-52)
|
not all stored fields are needed from a document (klaas, SOLR-52)
|
||||||
10. Made admin JSPs return XML and transform them with new XSL stylesheets
|
10. Made admin JSPs return XML and transform them with new XSL stylesheets
|
||||||
(Otis Gospodnetic, SOLR-58)
|
(Otis Gospodnetic, SOLR-58)
|
||||||
11. Request parameters are copied to a new <lst name="responseHeader"> element, which
|
11. If the "echoParams=explicit" request parameter is set, request parameters are copied
|
||||||
replaces the old <responseHeader>. Adding a version=2.1 parameter to the request produces
|
to the output. In an XML output, they appear in new <lst name="params"> list inside
|
||||||
the old format, for backwards compatibility (bdelacretaz and yonik, SOLR-59).
|
the new <lst name="responseHeader"> element, which replaces the old <responseHeader>.
|
||||||
|
Adding a version=2.1 parameter to the request produces the old format, for backwards
|
||||||
|
compatibility (bdelacretaz and yonik, SOLR-59).
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
1. getDocListAndSet can now generate both a DocList and a DocSet from a
|
1. getDocListAndSet can now generate both a DocList and a DocSet from a
|
||||||
|
|
|
@ -225,13 +225,15 @@
|
||||||
is not specified in the request.
|
is not specified in the request.
|
||||||
-->
|
-->
|
||||||
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
<requestHandler name="standard" class="solr.StandardRequestHandler">
|
||||||
<!-- default values for query parameters may optionally be defined here
|
<!-- default values for query parameters -->
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
<str name="echoParams">explicit</str>
|
||||||
|
<!--
|
||||||
<int name="rows">10</int>
|
<int name="rows">10</int>
|
||||||
<str name="fl">*</str>
|
<str name="fl">*</str>
|
||||||
<str name="version">2.1</str>
|
<str name="version">2.1</str>
|
||||||
<lst>
|
-->
|
||||||
-->
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<!-- DisMaxRequestHandler allows easy searching across multiple fields
|
<!-- DisMaxRequestHandler allows easy searching across multiple fields
|
||||||
|
@ -240,6 +242,7 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
|
<requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
<str name="echoParams">explicit</str>
|
||||||
<float name="tie">0.01</float>
|
<float name="tie">0.01</float>
|
||||||
<str name="qf">
|
<str name="qf">
|
||||||
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
|
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
|
||||||
|
@ -265,6 +268,7 @@
|
||||||
-->
|
-->
|
||||||
<requestHandler name="partitioned" class="solr.DisMaxRequestHandler" >
|
<requestHandler name="partitioned" class="solr.DisMaxRequestHandler" >
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
|
<str name="echoParams">explicit</str>
|
||||||
<str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0</str>
|
<str name="qf">text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0</str>
|
||||||
<str name="mm">2<-1 5<-2 6<90%</str>
|
<str name="mm">2<-1 5<-2 6<90%</str>
|
||||||
<!-- This is an example of using Date Math to specify a constantly
|
<!-- This is an example of using Date Math to specify a constantly
|
||||||
|
|
Loading…
Reference in New Issue