Also, we’ve just tested blowing away our solr9 cluster from scratch (as it technically had been upgraded from 9.4.0 to 9.5.0), and rebuilding. We inserted a document with a binary field again and can confirm the problem is still present.
I found https://issues.apache.org/jira/browse/SOLR-10653?filter=-3 which seems to imply it was fixed in 9.5.0 but doesn’t seem to be. Certainly feels like a bug so I’ll raise a new ticket. Karl From: Karl Stoney <karl.sto...@autotrader.co.uk.INVALID> Date: Thursday, 18 April 2024 at 07:36 To: users@solr.apache.org <users@solr.apache.org> Cc: Michael Eves <michael.e...@autotrader.co.uk>, Craig Wrigglesworth <craig.wriggleswo...@autotrader.co.uk> Subject: Re: Invalid JSON on solr9 when using a binary field Hi Thomas, That link doesn’t seem to work for me (might be that my corporate AV is messing with it as it rewrites it to some outlook safe link!) – do you have an issue ref? We’re trying to go to 9.5.0, which is the latest. From: Thomas Corthals <tho...@klascement.net> Date: Wednesday, 17 April 2024 at 16:49 To: users@solr.apache.org <users@solr.apache.org> Cc: Michael Eves <michael.e...@autotrader.co.uk>, Craig Wrigglesworth <craig.wriggleswo...@autotrader.co.uk> Subject: Re: Invalid JSON on solr9 when using a binary field Hi Karl, What is the exact version of Solr 9 you're trying to upgrade to? This sounds very similar to this issue: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Flist%3Fusers%40solr.apache.org%3Agte%3D0d%3A%26header_subject%3DInvalid%2520JSON%2520response%2520with%2520UUID%2520field&data=05%7C02%7CKarl.Stoney%40autotrader.co.uk%7Cf866903a542642f0838c08dc5f71d8a3%7C926f3743f3d24b8a816818cfcbe776fe%7C0%7C0%7C638490189775705158%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=VrS5ZzkvdYjl7e3ihrEW9iz8Kx%2FKJUCHp4RJLvmTUxg%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apache.org%2Flist%3Fusers%40solr.apache.org%3Agte%3D0d%3A%26header_subject%3DInvalid%2520JSON%2520response%2520with%2520UUID%2520field&data=05%7C02%7CKarl.Stoney%40autotrader.co.uk%7Cf866903a542642f0838c08dc5f71d8a3%7C926f3743f3d24b8a816818cfcbe776fe%7C0%7C0%7C638490189775705158%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=VrS5ZzkvdYjl7e3ihrEW9iz8Kx%2FKJUCHp4RJLvmTUxg%3D&reserved=0><https://lists.apache.org/list?users@solr.apache.org:gte=0d:&header_subject=Invalid%20JSON%20response%20with%20UUID%20field> Thomas Op wo 17 apr 2024 om 16:55 schreef Karl Stoney <karl.sto...@autotrader.co.uk.invalid>: > Hi, > I’m currently looking into the solr 8 -> solr 9 upgrade, and we’ve noticed > that if a document is using a binary field, the json returned is invalid > because the value is not quoted: > > For example on solr 8 we’d see: > > ``` > "STOCK_ITEM_BINARY_FIELD":”OikKAfqEdXJzSWRjNTEwMj…” > ``` > > But on solr 8 we get back: > > ``` > "STOCK_ITEM_BINARY_FIELD":OikKAfqEdXJzSWRjNTEwMj… > ``` > > (note both these examples are observed through the Solr UI too): > > This feels like a bug, but wanted to check here before I raised it as one? > > > Unless expressly stated otherwise in this email, this e-mail is sent on > behalf of Auto Trader Limited Registered Office: 1 Tony Wilson Place, > Manchester, Lancashire, M15 4FN (Registered in England No. 03909628). Auto > Trader Limited is part of the Auto Trader Group Plc group. This email and > any files transmitted with it are confidential and may be legally > privileged, and intended solely for the use of the individual or entity to > whom they are addressed. If you have received this email in error please > notify the sender. This email message has been swept for the presence of > computer viruses. > Unless expressly stated otherwise in this email, this e-mail is sent on behalf of Auto Trader Limited Registered Office: 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England No. 03909628). Auto Trader Limited is part of the Auto Trader Group Plc group. This email and any files transmitted with it are confidential and may be legally privileged, and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This email message has been swept for the presence of computer viruses. Unless expressly stated otherwise in this email, this e-mail is sent on behalf of Auto Trader Limited Registered Office: 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England No. 03909628). Auto Trader Limited is part of the Auto Trader Group Plc group. This email and any files transmitted with it are confidential and may be legally privileged, and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This email message has been swept for the presence of computer viruses.