On Mon, Oct 26, 2015, at 06:04 PM, Shawn Heisey wrote: > On 10/26/2015 11:27 AM, Shalin Shekhar Mangar wrote: > > +1 let's have upconfig complain loudly if the directory being uploaded > > doesn't have a solrconfig.xml > > +1 > > I like this idea, as long as there's some kind of "force" option to > bypass that check. > > I can imagine situations where somebody might want to upconfig a subset > of the files in a config, like stopwords.txt, as an update rather than a > full upload. Do we ask people in that situation to switch to putfile > and explicitly name the znode path, or just have them add an option to > their existing command to force the upload even though it's incomplete? > If I'm writing that script, I would prefer to have the latter option > available.
In the end, this needs to be replaced by HTTP APIs. In the meantime, a switch to disable the solrconfig check sounds reasonable. Wanna create the ticket? Upayavira