On 1/3/2017 8:29 AM, Bob Cook wrote: > Thanks Shawn. So I'm not insane! > > Is there a way to specify a "jar" load order? > I'm trying to use UIMA's concept mapper and it requires a particular load > order, otherwise it > doesn't instantiate and errors out. I was able to do this with the "lib" > directives.
The order that the filenames are returned is determined by Java, not by Solr. The code uses a DirectoryStream<Path> object, part of NIO2 in Java, so it's outside Solr's control entirely. If load order actually matters, and renaming the jars so that an alphanumeric sort would order them correctly doesn't produce the correct result, then I think you'll probably need to place the jars in a location that isn't special, and use the <lib> directive with absolute paths. If more than one core has that config, then the jars will be loaded more than once. Thanks, Shawn