Re: Invalid JSON response with UUID field

2023-12-21 Thread Märt Bakhoff
Hi It seems this is still not fixed. Here is my repro: 1. Download and unpack solr-9.4.0.tgz 2. Unzip the attached logs.zip into server/solr/ to create a new core. It contains a trivial managed-schema with an uuid field: 3. Start solr with `bin/solr -f` 4. Hit it with curl: `curl -

Re: Invalid JSON response with UUID field

2023-12-02 Thread Mikhail Khludnev
like this Caused by: org.noggit.JSONParser$ParseException: Expected key,value separator ':': char=,,position=371 AFTER='title_1"], "uuid":1f9b1f5d-a23a-4a6d-a113-4cf0f230f741,' BEFORE=' "_version_":1784207232593821696,' at org.noggit.JSONParser.err(JSONParser.java:447) On Sun, Dec 3, 2023 at 12:39

Re: Invalid JSON response with UUID field

2023-12-02 Thread Mikhail Khludnev
Right. I'm able to reproduce it on 9.4 with non-cloud json request. Anrew, It should work in forthcoming 9.5 On Fri, Dec 1, 2023 at 12:28 PM Mikhail Khludnev wrote: > Andrew, do you got the same problem if UUID is not a primary, but just a > regular field? > > blind guess mode on: > I suppose th

Re: Invalid JSON response with UUID field

2023-12-01 Thread Mikhail Khludnev
Andrew, Could you please check the build snapshot from https://ci-builds.apache.org/job/Solr/job/Solr-Artifacts-9x/ to verify if https://issues.apache.org/jira/browse/SOLR-10653 fixes the json issue as well. Thank you. On Fri, Dec 1, 2023 at 12:28 PM Mikhail Khludnev wrote: > Andrew, do you got

Re: Invalid JSON response with UUID field

2023-12-01 Thread Mikhail Khludnev
Andrew, do you got the same problem if UUID is not a primary, but just a regular field? blind guess mode on: I suppose this bug resides a log ago https://issues.apache.org/jira/browse/SOLR-10653 But I guess it was hidden by old text json writer, until https://issues.apache.org/jira/browse/SOLR-166

Re: Invalid JSON response with UUID field

2023-11-30 Thread Andrew Hankinson
No SolrCloud, complete wipe and reindex of the data, select handler. > On 1 Dec 2023, at 07:54, Mikhail Khludnev wrote: > > It might have the same root cause like > https://issues.apache.org/jira/browse/SOLR-10653?filter=-3 Could you share > more details about your env setup: is it "SolrCloud"?

Re: Invalid JSON response with UUID field

2023-11-30 Thread Mikhail Khludnev
It might have the same root cause like https://issues.apache.org/jira/browse/SOLR-10653?filter=-3 Could you share more details about your env setup: is it "SolrCloud"? is it /get or /select ? etc. On Fri, Dec 1, 2023 at 12:05 AM Andrew Hankinson wrote: > Hi, > > I have a schema with a UUID field

Re: Invalid JSON response with UUID field

2023-11-30 Thread Dmitri Maziuk
On 11/26/23 03:40, Andrew Hankinson wrote: I recently upgraded my Solr installation to 9.3 (from 7.6) and my application stopped working. It turns out that Solr has stopped encoding UUIDs as strings in the JSON response writer. Whereas before I would get: "id":"76af09e3-db43-4e7e-a46f-9bf03e