On 2026/11/28 19:32:54 David Smiley via dev wrote:
> RE on-demand/lazy: Sure.  What I'm pushing back on is an unsolicited (user
> didn't opt-in) configset ZK upload on startup, outside of "_default".
> 
> On Sat, Nov 28, 2026 at 10:18 AM Eric Pugh via dev <[email protected]>
> wrote:
> 
> >
> >
> > On 2026/11/25 15:09:16 Jan Høydahl via dev wrote:
> > > I'm ok either way. A configset is a standardized way to store a schema
> > so if that makes it easier for schema designer to pull the multi ling
> > fieldType's perhaps that is ok.
> > >
> > > Or the _multilingual could be lazy, let Schema designer copy it to ZK
> > when needed? In slim distro that option would not show up.
> > >
> > > Could we make it even clearer in the UI that this feature is actually
> > copying field types from _multilingual to <schema>?
> > >
> > > Jan
> > >
> > > > 25. nov. 2026 kl. 15:08 skrev Eric Pugh via dev <[email protected]>:
> > > >
> > > >
> > > >
> > > > On 2026/11/25 13:56:24 David Smiley via dev wrote:
> > > >> The feature in SOLR-11033 is cool.  Correct me if I'm wrong, but it
> > appears
> > > >> to be primarily a feature of the Schema Designer.  I'm also glad it
> > reduces
> > > >> the size of the default configset substantially.  Couldn't the schema
> > > >> designer look for the "_multilingual" configset on disk in Solr
> > > >> installation, instead of ZK?  Or even check both (ZK 1st,
> > installation 2nd)?
> > > >>
> > > >> On Tue, Nov 24, 2026 at 5:43 PM Eric Pugh via dev <
> > [email protected]>
> > > >> wrote:
> > > >>
> > > >>> Yeah, I don’t love any time I have to modify any part of the Admin
> > UI.
> > > >>> I’m looking forward to having enough functionality in the Solr UI to
> > move
> > > >>> to using it regularly, I just don’t think we are quite there yet to
> > hit the
> > > >>> tipping point of “hey, we should be using it actively”.
> > > >>>
> > > >>> So, a classic challenge in open source is that we make everything
> > > >>> configurable..  that is how we deal with different
> > > >>> stakeholders/perspecitves, “just add another switch” ;-).
> > > >>>
> > > >>> I actually see a lot of value in us shipping examples of best
> > practices
> > > >>> when it comes to various way of using Solr.   Unfortunately, those
> > of us
> > > >>> building Solr tend to be experts in it, but the vast majority of our
> > users
> > > >>> are NOT experts in Solr, so anything we can do to make their
> > experience
> > > >>> better is key.   The Schema Designer is an example of that attempt
> > to make
> > > >>> it easier to work with Solr.    Now, maybe there is a discussion
> > about is
> > > >>> having a Schema Designer at all make sense?    IN a time of agents,
> > maybe
> > > >>> we just need to ship lots of “best practices” configsets in a
> > discoverable
> > > >>> way for Agents, and not try to add the layer that is human centric?
> > > >>>
> > > >>>
> > > >>>> On Nov 24, 2026, at 2:33 PM, Christos Malliaridis <
> > > >>> [email protected]> wrote:
> > > >>>>
> > > >>>> I like to discover every now and then new requirements that shape
> > the
> > > >>>> perfect UI. I am not familiar enough with this "feature", so I will
> > have
> > > >>> to
> > > >>>> dig deeper to understand the use case better.
> > > >>>>
> > > >>>> It would be nice to see that kind of effort also go into the new UI
> > which
> > > >>>> we / I should really push more. Don't forget that the old UI's
> > framework
> > > >>>> angularjs reached EOL a couple years ago.
> > > >>>>
> > > >>>> Without reviewing the pull request, what I am personally against is
> > > >>>> providing a configuration variable for every single detail,
> > including
> > > >>>> things that are normally dynamically generated. Not sure if that
> > applies
> > > >>>> here, but if we are talking about configsets, that are normally
> > generated
> > > >>>> on demand, I consider it a resource that is created, updated and
> > > >>> destroyed
> > > >>>> during runtime, and therefore it should not have any variables that
> > may
> > > >>>> affect it directly. It is very easy to cause state drift (e.g. by
> > > >>> deleting
> > > >>>> a specific file manually), and we would also have to propagate and
> > > >>> support
> > > >>>> the variable (from environment and file) in multiple places,
> > including
> > > >>> but
> > > >>>> not limited to, scripts, java code and solr operator. And a
> > variable that
> > > >>>> is not shipped in all versions is typically a confusing / dead
> > variable,
> > > >>>> which would require extra labeling and documentation (e.g. in
> > > >>> documentation
> > > >>>> which variables are supported in all distros, and which are only
> > > >>> supported
> > > >>>> / not supported in specific ones, like this case).
> > > >>>>
> > > >>>> Perhaps I should review the pull request before sharing this opinion
> > > >>> here,
> > > >>>> but I hope I am not the only one feeling this way about our
> > variables. I
> > > >>>> may have more feedback if I find the time to review the PR.
> > > >>>>
> > > >>>> Best,
> > > >>>> Christos
> > > >>>>
> > > >>>> On Tue, Nov 24, 2026 at 9:13 PM Eric Pugh via dev <
> > [email protected]>
> > > >>>> wrote:
> > > >>>>
> > > >>>>> David suggested on
> > > >>>>> https://github.com/apache/solr/pull/5370#discussion_r4683487877 <
> > > >>> https://github.com/apache/solr/pull/5370#discussion_r4683487877>
> > that I
> > > >>>>> share more on the dev list.
> > > >>>>>
> > > >>>>> I was working with a team that uses Project Blacklight as the front
> > > >>> end to
> > > >>>>> Solr, and they are interested in multilingual support. This is what
> > > >>>>> reminded me that we have a lot of the plumbing for it, but it's
> > buried
> > > >>> in
> > > >>>>> the _default schema that honestly you shouldn't be using for your
> > own
> > > >>>>> schema.
> > > >>>>>
> > > >>>>> The PR basically takes all the current language specific field
> > types
> > > >>> out
> > > >>>>> of the _default configset, whhere they actually were not used, and
> > > >>> moves it
> > > >>>>> to it's own configset. Whats nice is that the schema designer
> > reads in
> > > >>>>> the _multilingual, and then you pick your languages and they get
> > added
> > > >>>>> directly to your schema, which is awesome.
> > > >>>>>
> > > >>>>> It also means that the Schema Designer is no longer hardcoding
> > which
> > > >>>>> languages it knows about, but instead uses that _multilingual
> > > >>> configset.
> > > >>>>>
> > > >>>>> This raises a question about which configsets would you want in
> > yoru
> > > >>>>> environment...
> > > >>>>>
> > > >>>>> I did add a solr.configset.bootstrap.names=_default,_multilingual
> > that
> > > >>> you
> > > >>>>> could change to solr.configset.bootstrap.names=_default to prevent
> > > >>>>> _multilingual from being loaded.
> > > >>>>>
> > > >>>>> The _multilingual also isn't shipped in the slim distro.
> > > >>>>>
> > > >>>>> Right now I kind of view it as a "no impact" in the sense that we
> > > >>> moved a
> > > >>>>> bunch of configuraiotn out of _default into it's own setup.
> > > >>>>>
> > > >>>>> But wanted to raise this up and get a stronger sense of what folks
> > > >>> thing?
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > ---------------------------------------------------------------------
> > > >>>>> To unsubscribe, e-mail: [email protected]
> > > >>>>> For additional commands, e-mail: [email protected]
> > > >>>>>
> > > >>>>>
> > > >>>
> > > >>> Disclaimer
> > > >>>
> > > >>> The information contained in this communication from the sender is
> > > >>> confidential. It is intended solely for use by the recipient and
> > others
> > > >>> authorized to receive it. If you are not the recipient, you are
> > hereby
> > > >>> notified that any disclosure, copying, distribution or taking action
> > in
> > > >>> relation of the contents of this information is strictly prohibited
> > and may
> > > >>> be unlawful.
> > > >>>
> > > >>> This email has been scanned for viruses and malware, and may have
> > been
> > > >>> automatically archived by Mimecast, a leader in email security and
> > cyber
> > > >>> resilience. Mimecast integrates email defenses with brand protection,
> > > >>> security awareness training, web security, compliance and other
> > essential
> > > >>> capabilities. Mimecast helps protect large and small organizations
> > from
> > > >>> malicious activity, human error and technology failure; and to lead
> > the
> > > >>> movement toward building a more resilient world. To find out more,
> > visit
> > > >>> our website.
> > > >>>
> > > >>
> > > >
> > > > I think a lot of folks WANT the multilingual, and don't realize that
> > we actually have it, just buried in the _default config set.
> > > >
> > > > The changes to Schema designer are more of a nice surprise..  I didn't
> > realize how brittle it was in defiening things.
> > > >
> > > > I was also surprised that Schema Designer literally copied the
> > configuration changes OUT of _multilingual and inserted them into your
> > specfiic configset!
> > > >
> > > > In terms of Schema Designer working in standalone mode, I confess I
> > haven't tested it there, and I think that Schema Designer maybe assumes ZK?
> > > >
> > > > I had thought that shipping a _multilingual was worth it on it's own
> > merits, and that it was just a nice thing that Schema Designer surfaced it
> > so nicely.   But maybe the two should be mreo conjoined?   If you don't
> > have Schema Designer you don't see _multilingual?   That _multilingual only
> > has value in the context of being able to use the Schema Designer?
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> > We could...   I guess if the primary way of accessing _multilingual is
> > through Schema Designer, then a lazy load is fine!
> >
> > And yes, I think we could tweak the UI.   Seperately, I think there are
> > some other weaknesses in Schema Designer I want to buff up.
> >
> > David, would a lazy load address your concerns?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> 
Okay, I've changed it to be triggered by using the Schema Designer.  This has 
also led me down a bit of a bug smash exercise in the Schema Designer, which is 
turning up lots of small things that are getting fixed ;-).



I will merge in the next day or so pending feedbaack.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to