RE: Run time error in IndexWriter.addDocument

2023-04-03 Thread Saha, Rajib
Thanks Mikhail for the pointer. The problem is resolved. Somehow the flow was picking "stempel-*.jar" in runtime. I have corrected it. Regards Rajib -Original Message- From: Mikhail Khludnev Sent: 03 April 2023 14:53 To: java-user@lucene.apache.org Subject: Re: Run time error in IndexW

Re: Run time error in IndexWriter.addDocument

2023-04-03 Thread Mikhail Khludnev
Nope, it's embedded completely. You can find Trie.java in lucene-8.11.2 sources. And compiled class in lucene-analyzers-stempel-8.11.2.jar as well. On Mon, Apr 3, 2023 at 12:03 PM Saha, Rajib wrote: > Hi Mikhail, > > In top stack, > java.lang.NoSuchMethodError: > > > org.egothor.stemmer.Trie.get

RE: Run time error in IndexWriter.addDocument

2023-04-03 Thread Saha, Rajib
Hi Mikhail, In top stack, java.lang.NoSuchMethodError: > org.egothor.stemmer.Trie.getLastOnPath(Ljava/lang/CharSequence;)Ljava/lang/CharSequence; "org.egothor.stemmer.Trie.getLastOnPath" looks to part of a jar "stempel-*.jar" Does "lucene-analysis-stempel*jar" needs internally any other jar like

Re: Run time error in IndexWriter.addDocument

2023-04-03 Thread Mikhail Khludnev
Hi It seems like some corruption, mix or confusion around lucene-analysis-stempel*jar. Please check that you have only one jar file from the corresponding version. On Mon, Apr 3, 2023 at 10:59 AM Saha, Rajib wrote: > Hi, > > We are in a project from migration of Lucene 2.4.1 to 8.11.2. > > We

Run time error in IndexWriter.addDocument

2023-04-03 Thread Saha, Rajib
Hi, We are in a project from migration of Lucene 2.4.1 to 8.11.2. We have achieved till now about resolving the compilation errors. It is a huge project. On runtime, we are facing an error on the API IndexWriter.addDocument(). Not sure, if I am missing any other jar at runtime. Can anybody plea