lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "XMLResponseFormat" by HossMan
Date Wed, 25 Nov 2009 22:09:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "XMLResponseFormat" page has been changed by HossMan.
The comment on this change is: using quotes prevent funky formatting.
http://wiki.apache.org/solr/XMLResponseFormat?action=diff&rev1=8&rev2=9

--------------------------------------------------

  = Parameters =
  The behavior of the XML Response Writer can be driven by the following query paramaters.
  
+ 
- == version ==
+ == 'version' ==
+ 
  The version parameter determines the XML protocol used in the response.  Clients are strongly
encouraged to ''always'' specify the protocol version, so as to ensure that the format of
the response they receive does not change unexpectedly if/when the Solr server is upgraded.
  ||2.0 ||An <arr> tag was used for multiValued fields only if there was more then one
value ||
  ||2.1 ||An <arr> tag is used for multiValued fields even if there is only one value
||
@@ -21, +23 @@

  
  The default value is the latest supported
  
- == stylesheet ==
+ == 'stylesheet' ==
  The stylesheet parameter can be used to direct Solr to include a `<?xml-stylesheet type="text/xsl"
href="..."?>` declaration in the XML response it returns.
  
  The default behavior is not to return any stylesheet declaration at all.
  
  Use of the stylesheet param is currently discuraged, as there is currently no way to specify
external stylesheets, and no stylesheets are provided in the Solr distributions (it is a legacy
param which will hopefully be revived and given new life at some point in the future)
  
- == indent ==
+ == 'indent' ==
  If the indent parameter is used, and has a non-blank value, then Solr will make some attempts
at indenting the XML response such that it will be easier to read by humans.
  
  The default behavior is not to indent.

Mime
View raw message