You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2024/05/29 23:54:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Houston Putman closed SOLR-17237.
---------------------------------
> 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
> Components: JSON Request API
> Affects Versions: 9.5.0
> Reporter: Karl Stoney
> Priority: Major
> Labels: json
> Fix For: 9.6
>
> Attachments: Screenshot 2024-04-18 at 09.16.23.png, Screenshot 2024-04-29 at 08.54.30.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