[ 
https://issues.apache.org/jira/browse/SOLR-16691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752800#comment-17752800
 ] 

Ovidiu Mihalcea edited comment on SOLR-16691 at 8/10/23 1:06 PM:
-----------------------------------------------------------------

[~noble.paul] I believe it's a bug from the combination of the 
JacksonJsonWriter and indent=true. The Query component of the interface is 
quite an important feature for debugging. 
The workaround was to add <queryResponseWriter name="json" 
class="solr.JSONResponseWriter" /> and <str name="wt">json</str> to the 
defaults on the /select SearchHandler, as it seems when not specifying a 
default wt it defaults to the JacksonJsonWriter and not JSONResponseWriter.
Should I create a new ticket for this?


was (Author: dizzu333):
[~noble.paul] I believe it's a bug from the combination of the 
JacksonJsonWriter and indent=true. The Query component of the interface is 
quite an important feature for debugging. 
The workaround was to add <queryResponseWriter name="json" 
class="solr.JSONResponseWriter" /> and <str name="wt">json</str> to the default 
on the /select SearchHandler, as it seems when not specifying a default wt it 
defaults to the JacksonJsonWriter and not JSONResponseWriter.
Should I create a new ticket for this?

> Use Jackson for JSON serialization
> ----------------------------------
>
>                 Key: SOLR-16691
>                 URL: https://issues.apache.org/jira/browse/SOLR-16691
>             Project: Solr
>          Issue Type: Task
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: 9.3
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> A user has reported significant performance gains from using Jackson over our 
> homegrown JSON writer



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to