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

Shawn Heisey commented on SOLR-13008:
-------------------------------------

I had to go look at the docs to figure out what adding {{:[json]}} to a field 
in the fl param does.

The docs are not terribly clear on it, though.  The PDF I looked at (7.5) says 
that you get "the actual raw XML or JSON structure instead of just the string 
value."  But exactly what that means is not really clear to me, and there's no 
output shown for clarification of what it actually does.

The premise sounds reasonable, but my understanding of the code and the impact 
of the suggested change is pretty low.

Minor note:  The patch would fail precommit, because there's no checksum file 
for the added jar.  If I remember right, that's added with "ant jar-checksums".

> JSON Document Transformer doesn't heed "indent" parameter
> ---------------------------------------------------------
>
>                 Key: SOLR-13008
>                 URL: https://issues.apache.org/jira/browse/SOLR-13008
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Response Writers
>    Affects Versions: 7.5
>            Reporter: Eric Pugh
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A query like "wt=json&fl=id,subject:[json]&indent=true", will return the 
> field subject as JSON, however the indent parameter is ignored on the nested 
> JSON.   This can lead to a very wide response that you have to scroll over.  
> Often I add indent=true becasue I want to see the structure of my embedded 
> JSON text, and I need to cut'n'paste over to another editor.   This would let 
> the nested JSON object be pretty printed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to