I looked, and I *believe* the reason LTR doesn’t have anything listed is maybe
because there aren’t any 9.0 libraries at run time? Looking at Gradle, I see
three test dependencies, and two that probably are shipped elsewhere.
dependencies {
implementation project(':solr:core')
implementation "org.apache.lucene:lucene-analysis-common"
testImplementation('org.mockito:mockito-core', {
exclude group: "net.bytebuddy", module: "byte-buddy-agent"
})
testImplementation ('org.objenesis:objenesis')
testImplementation project(':solr:test-framework')
}
> On Jun 11, 2021, at 7:10 AM, Jason Gerlowski <[email protected]
> <mailto:[email protected]>> wrote:
>
>> “analytics”, “str”, and “scripting” don’t have any external dependencies, so
>> the jar file is in the /dist directory.
>
> OK, that makes sense to me. (Except for the small detail that "ltr"
> has a contrib/ directory in 8.x versions - but maybe it has libraries
> there that aren't needed in 9.0?)
>
> It is a little confusing - I'll see if there are docs on contribs that
> talk about what lives at each path, maybe those can be improved.
>
> On Thu, Jun 10, 2021 at 2:22 PM Eric Pugh
> <[email protected] <mailto:[email protected]>>
> wrote:
>>
>> I *think* what you are seeing is that “analytics”, “str”, and “scripting”
>> don’t have any external dependencies, so the jar file is in the /dist
>> directory. /contrib/{something}/ is where the dependencies for a contrib
>> go.
>>
>> Honestly, that is probably kind of confusing. I could see an argument for
>> the contrib solr Jar to live in /contrib, so for scripting you would have
>> /contrib/scripting/solr-scripting-9.0.0-SNAPSHOT.jar, and for ones with
>> dependencies, they would be all located in the same folder.
>>
>>
>>
>> On Jun 10, 2021, at 1:20 PM, Jason Gerlowski <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hey all,
>>
>> I ran a "./gradlew --info clean assemble" on "main" recently, and was
>> surprised to notice that only some contribs make it to the assembled
>> Solr distribution. "main" has 10 contribs but only 7 of these are
>> visible in the "contrib/" directory of a Solr distribution.
>> ("analytics, "ltr", and "scripting" are the absentees.)
>>
>> Is this expected? The 3 "missing" contribs each have a JAR in the
>> "dist/" directory, so maybe this is normal for simple contribs or
>> contribs that don't have any external dependencies? For comparison,
>> 8.x has a "contrib" directory for "ltr" but not "analytics".
>> ("scripting" is new to 9.0)
>>
>> Appreciate any context people might have on this!
>>
>> Best,
>>
>> Jason
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> <mailto:[email protected]>
>> For additional commands, e-mail: [email protected]
>> <mailto:[email protected]>
>>
>>
>> _______________________
>> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 |
>> http://www.opensourceconnections.com <http://www.opensourceconnections.com/>
>> | My Free/Busy
>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed
>> This e-mail and all contents, including attachments, is considered to be
>> Company Confidential unless explicitly stated otherwise, regardless of
>> whether attachments are marked as such.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> <mailto:[email protected]>
> For additional commands, e-mail: [email protected]
> <mailto:[email protected]>
>
_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 |
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> |
My Free/Busy <http://tinyurl.com/eric-cal>
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
This e-mail and all contents, including attachments, is considered to be
Company Confidential unless explicitly stated otherwise, regardless of whether
attachments are marked as such.