Definitely +1 for strictness for Solr 11.  But it'd be a compatibility
break in 10.x.  In the JIRA you propose a flag to control this for 10.x --
that'd work.  It's okay to change the default in a minor release, provided
we are clear in the upgrade notes & release announcement.  In the JIRA you
reflect both as 2 independent steps but it can certainly be one step
(meaning in one release both change the default and introduce the flag).

On Mon, Apr 27, 2026 at 1:18 PM Christos Malliaridis <
[email protected]> wrote:

> Hello everyone,
>
> During the development of the new UI I noticed that the JSON parsing in our
> API is configured to be lenient. This means that it allows for example
> numbers being provided for fields that are normally strings.
>
> During some tests I found out that this behavior throws errors for some
> specific cases. I have documented those in SOLR-18191 [1].
>
> I would like to change the request parsing for JSON input to be strict and
> not lenient. Renato Haebrli has already created a draft PR [2] where this
> is being addressed.
>
> Since this may be considered a breaking change, I would like to gather more
> opinions and consensus before changing the behavior in 10.x. If it is
> considered a problematic change, we could work out a migration plan.
>
> What do you think about the proposed change? And do you think consumers
> actually are affected by this?
>
> Best,
> Christos
>
> [1] SOLR-18191 https://issues.apache.org/jira/browse/SOLR-18191
> [2] https://github.com/apache/solr/pull/4329
>

Reply via email to