mirror of https://github.com/apache/lucene.git
SOLR-11266: remove content-type override from _default configSet
This commit is contained in:
parent
70a8deb0ab
commit
cb94eeb491
|
@ -57,6 +57,9 @@ Upgrade Notes
|
|||
|
||||
* SOLR-13596: Deprecated GroupingSpecification methods are removed. (Munendra S N)
|
||||
|
||||
* SOLR-11266: default Content-Type override for JSONResponseWriter from _default configSet is removed. Example has been
|
||||
provided in sample_techproducts_configs to override content-type. (Ishan Chattopadhyaya, Munendra S N, Gus Heck)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -1291,13 +1291,15 @@
|
|||
<queryResponseWriter name="schema.xml" class="solr.SchemaXmlResponseWriter"/>
|
||||
-->
|
||||
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
||||
<!-- For the purposes of the tutorial, JSON responses are written as
|
||||
plain text so that they are easy to read in *any* browser.
|
||||
If you expect a MIME type of "application/json" just remove this override.
|
||||
-->
|
||||
<str name="content-type">text/plain; charset=UTF-8</str>
|
||||
</queryResponseWriter>
|
||||
<!-- Overriding the content-type of the response writer.
|
||||
For example, Default content-type of JSON is application/json. This can be overridden to
|
||||
text/plain so that response is easy to read in *any* browser.
|
||||
-->
|
||||
<!--
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
||||
<str name="content-type">text/plain; charset=UTF-8</str>
|
||||
</queryResponseWriter>
|
||||
-->
|
||||
|
||||
<!--
|
||||
Custom response writers can be declared as needed...
|
||||
|
|
|
@ -1291,13 +1291,15 @@
|
|||
<queryResponseWriter name="schema.xml" class="solr.SchemaXmlResponseWriter"/>
|
||||
-->
|
||||
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
||||
<!-- For the purposes of the tutorial, JSON responses are written as
|
||||
plain text so that they are easy to read in *any* browser.
|
||||
If you expect a MIME type of "application/json" just remove this override.
|
||||
-->
|
||||
<str name="content-type">text/plain; charset=UTF-8</str>
|
||||
</queryResponseWriter>
|
||||
<!-- Overriding the content-type of the response writer.
|
||||
For example, Default content-type of JSON is application/json. This can be overridden to
|
||||
text/plain so that response is easy to read in *any* browser.
|
||||
-->
|
||||
<!--
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
||||
<str name="content-type">text/plain; charset=UTF-8</str>
|
||||
</queryResponseWriter>
|
||||
-->
|
||||
|
||||
<!--
|
||||
Custom response writers can be declared as needed...
|
||||
|
|
|
@ -1524,6 +1524,8 @@
|
|||
<queryResponseWriter name="schema.xml" class="solr.SchemaXmlResponseWriter"/>
|
||||
-->
|
||||
|
||||
<!-- Overriding the content-type of the response writer.
|
||||
-->
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
||||
<!-- For the purposes of the tutorial, JSON responses are written as
|
||||
plain text so that they are easy to read in *any* browser.
|
||||
|
|
Loading…
Reference in New Issue