You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2024/04/18 09:42:00 UTC

[jira] [Commented] (SOLR-17237) JSON Writer appears to return invalid JSON when binary fields are used

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

Mikhail Khludnev commented on SOLR-17237:
-----------------------------------------

Hi Karl. 
Do you have zk-addicted, standalone or handmade distributed setup? 
Are there atomic updates involved in the flow? If they are, which field is updated this one or another one? 

> JSON Writer appears to return invalid JSON when binary fields are used
> ----------------------------------------------------------------------
>
>                 Key: SOLR-17237
>                 URL: https://issues.apache.org/jira/browse/SOLR-17237
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: JSON Request API
>    Affects Versions: 9.5.0
>            Reporter: Karl Stoney
>            Priority: Major
>              Labels: json
>         Attachments: Screenshot 2024-04-18 at 09.16.23.png
>
>
> Hello, 
> As per the thread on the user group, we're currently looking at upgrading to solr 9.5.0, from v8.
> We have built a fresh solr 9.5.0 from scratch, and have observed that when requesting application/json, binary fields are not quoted - thus resulting in invalid JSON.
> I found https://issues.apache.org/jira/browse/SOLR-10653, which looks very similar, and was "fixed" in 9.5.0.
> Here's an example (partial) response that you can see (truncated the actual value though):
> ```
>       "PARTNER_SITES_ADVERT_STATUS":"EXPIRED",
>       "DATE_OF_REGISTRATION_EPOCH":1584403200,
>       "STOCK_ITEM_BINARY_FIELD":OikKAfqLb3JpZ2luU291cmNlQ0....=,
>       "FUEL_CAPACITY_VALUE":59.0
> ```



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

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