You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by bd...@apache.org on 2006/12/14 14:20:16 UTC

svn commit: r487204 - in /incubator/solr/trunk: CHANGES.txt example/solr/conf/solrconfig.xml

Author: bdelacretaz
Date: Thu Dec 14 05:20:15 2006
New Revision: 487204

URL: http://svn.apache.org/viewvc?view=rev&rev=487204
Log:
SOLR-59, make echoParams=explicit the default in the example config

Modified:
    incubator/solr/trunk/CHANGES.txt
    incubator/solr/trunk/example/solr/conf/solrconfig.xml

Modified: incubator/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/CHANGES.txt?view=diff&rev=487204&r1=487203&r2=487204
==============================================================================
--- incubator/solr/trunk/CHANGES.txt (original)
+++ incubator/solr/trunk/CHANGES.txt Thu Dec 14 05:20:15 2006
@@ -154,9 +154,11 @@
     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
     (Otis Gospodnetic, SOLR-58)
-11. Request parameters are copied to a 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).
+11. If the "echoParams=explicit" request parameter is set, request parameters are copied 
+    to the output. In an XML output, they appear in new <lst name="params"> list inside 
+    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 
  1. getDocListAndSet can now generate both a DocList and a DocSet from a 

Modified: incubator/solr/trunk/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/solrconfig.xml?view=diff&rev=487204&r1=487203&r2=487204
==============================================================================
--- incubator/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ incubator/solr/trunk/example/solr/conf/solrconfig.xml Thu Dec 14 05:20:15 2006
@@ -225,13 +225,15 @@
      is not specified in the request.
   -->
   <requestHandler name="standard" class="solr.StandardRequestHandler">
-    <!-- default values for query parameters may optionally be defined here
+    <!-- default values for query parameters -->
      <lst name="defaults">
+       <str name="echoParams">explicit</str>
+       <!-- 
        <int name="rows">10</int>
        <str name="fl">*</str>
        <str name="version">2.1</str>
-     <lst>
-    -->
+        -->
+     </lst>
   </requestHandler>
 
   <!-- DisMaxRequestHandler allows easy searching across multiple fields
@@ -240,6 +242,7 @@
    -->
   <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >
     <lst name="defaults">
+     <str name="echoParams">explicit</str>
      <float name="tie">0.01</float>
      <str name="qf">
         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" >
     <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="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
      <!-- This is an example of using Date Math to specify a constantly