I have found that the  Lingo3GClusteringAlgorithm  will work if I copied
the commons-lang-2.6.jar from the previous version to
solr-8.2.0\server\solr-webapp\webapp\WEB-INF\lib.

Will this work in the long run? Because our lingo3g licence is not eligible
to download the latest version of 1.16, so we are currently stuck with the
older version 1.15.1, which still uses commons-lang dependency.

Regards,
Edwin

On Tue, 13 Aug 2019 at 00:14, Zheng Lin Edwin Yeo <edwinye...@gmail.com>
wrote:

> Hi Kevin,
>
> Thanks for the info.
>
> I think should be lingo3g problem.  The problem occurs when I use
> Lingo3GClusteringAlgorithm.
> <str
> name="carrot.algorithm">com.carrotsearch.lingo3g.Lingo3GClusteringAlgorithm</str>
>
> If I change back to LingoClusteringAlgorithm, it will work.
> <str
> name="carrot.algorithm">org.carrot2.clustering.lingo.LingoClusteringAlgorithm</str>
>
> Regards,
> Edwin
>
> On Fri, 9 Aug 2019 at 10:59, Kevin Risden <kris...@apache.org> wrote:
>
>> According to the stack trace:
>>
>> java.lang.NoClassDefFoundError: org/apache/commons/lang/ObjectUtils
>>         at lingo3g.s.hashCode(Unknown Source)
>>
>> It looks like lingo3g - lingo3g isn't on Maven central and looks like it
>> requires a license to download. You would have to contact them to see if
>> it
>> still uses commons-lang. You could also copy in commons-lang dependency.
>>
>> Kevin Risden
>>
>>
>> On Thu, Aug 8, 2019 at 10:23 PM Zheng Lin Edwin Yeo <edwinye...@gmail.com
>> >
>> wrote:
>>
>> > Hi Erick,
>> >
>> > Thanks for your reply.
>> >
>> > My clustering code is taken as it is from the Solr package, only the
>> codes
>> > related to lingo3g is taken from previous version.
>> >
>> > Below are the 3 files that I have taken from previous version:
>> > - lingo3g-1.15.0
>> > - morfologik-fsa-2.1.1
>> > - morfologik-stemming-2.1.1
>> >
>> > Does anyone of these could have caused the error?
>> >
>> > Regards,
>> > Edwin
>> >
>> > On Thu, 8 Aug 2019 at 19:56, Erick Erickson <erickerick...@gmail.com>
>> > wrote:
>> >
>> > > This dependency was removed as part of
>> > > https://issues.apache.org/jira/browse/SOLR-9079, so my guess is
>> you’re
>> > > pointing to an old version of the clustering code.
>> > >
>> > > Best,
>> > > Erick
>> > >
>> > > > On Aug 8, 2019, at 4:22 AM, Zheng Lin Edwin Yeo <
>> edwinye...@gmail.com>
>> > > wrote:
>> > > >
>> > > > ObjectUtils
>> > >
>> > >
>> >
>>
>

Reply via email to