CFINDEX error after ugrading Lucee to V5

Since June, no help on this topic,

CFindex works fine Under Lucee V4 , not anymore Under Lucee V5.
I have to stay Under Lucee V4.

Does anyone have the same problem , and solved ?

It seems to be a bug with V5, or file missing (class not found)

Thanks to all help.
Pierre.

Back on Lucee and Lucene search engine,

Just to tell you that the Lucene search engine is installed.
This is what I see in the Extendion Application List on server and web
context.

But CFindex gives that error. (in V5 only)

Thanks for help.
Pierre.

I have the same problem, does anyone have a solution for this?

Thanks,

Michael

Time to raise a ticket? https://luceeserver.atlassian.net/

Thanks for the answer,
I have seen the reported issue:

Lucene CFINDEX ClassNotFoundException
https://luceeserver.atlassian.net/browse/LDEV-1023

Wait for a solution/release before upgrading to Lucee V5.

Pierre.

I have seen a panel in the Lucee Web Admin V5 which is : info Bundle jar

I can see in the list some jar “not loaded” (lucene jars are not loaded)
See attached image.
Can this be the reason of the bug ?

And how to load these jar files ?
There no action buttons in that panel.

Thanks for any information.

When this will be fixed ? How to be informed of the fix ?
I am waiting for it to upgrade Lucee V4.5 to V5 under production.
Wondering how long it could take ?

Thanks for any information.
Pierre.

I have seen a panel in the Lucee Web Admin V5 which is : info Bundle jar

I can see in the list some jar “not loaded” (lucene jars are not loaded)
See attached image.
Can this be the reason of the bug ?

no, they will be loaded by the system if you need them. If you request any
cfsearch / cfindex-function, they will be listed green.

Hi everybody,

I have the same problem with Lucene.

Is there a solution today ?

Thanks for your help.

Etienne

I do not have any solution yet.
I am still in 4.5 version for production.
Waiting a V5 patch or a V6

So bad…

Thanks for your reply.

Etienne

Lucene CFINDEX ClassNotFoundException
https://luceeserver.atlassian.net/browse/LDEV-1023

@Michael_Diederich reports

Solution:
Download the jar-zip from Download apache-lucene.jar : apache lucene « a « Jar File Download
Extract the ZIP
copy the jar-file to your lucee/lib file

Your best bet for a more permanent fix is to lobby for this issue to be prioritised:
https://lucee.daemonite.io/t/april-2017-sprint/2156

PS. there are no guarantees (beyond submitting a pull request or paying for a patch) but certainly worth a try

Hi modius,

I try this solution, but it doesn’t work for me. It makes having a 500 error with all pages of the site !

Etienne

Hi Paul,

After some more tests, I realise that the problem doesn’t occur with laguage=english. It occurs with french, german and italian (I don’t try others languages).

Hope this helps.

Etienne

Thanks Etienne.
I tried to change the language, then it works with “English”
Before I used “french”, and it did not work.

English language, even searching french words, seems to work.
It seems it does not matter ?

Let me know, how good is your search engine with “english” language,
even if your documebnts/files are not in English ?
Thanks again.

Hi, I’ve confirmed the error based on the language selection in cfindex. I’ve listed the languages used in cfindex with their error shown below.

Note : I’ve tested with Lucene installed version : 2.4.1.29

Working fine for following languages in both versions:

  1. English

  2. Japanese

  3. Korean

  4. Russian

_Issues in both 4. & 5. versions:_**

	Arabic:
	cannot create Language Analyzer for Lanuage arabic, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.ArabicAnalyzer] available

	Norwegian (Bokmal):
	cannot create Language Analyzer for Lanuage bokmal, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.BokmalAnalyzer] available

	Hebrew:
	cannot create Language Analyzer for Lanuage hebrew, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.HebrewAnalyzer] available

	Hungarian:
	cannot create Language Analyzer for Lanuage hungarian, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.HungarianAnalyzer] available

	Norwegian(nynorsk):
	cannot create Language Analyzer for Lanuage nynorsk, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.NynorskAnalyzer] available

	Polish:
	cannot create Language Analyzer for Lanuage polish, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.PolishAnalyzer] available

	Chinese(simplified):
	cannot create Language Analyzer for Lanuage simplified_chinese, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.Simplified_chineseAnalyzer] available

	Chinese(traditional):
	cannot create Language Analyzer for Lanuage traditional_chinese, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.Traditional_chineseAnalyzer] available

	Turkish:
	cannot create Language Analyzer for Lanuage turkish, make Analyzer [org.opencfmlfoundation.search.lucene.analyzer.TurkishAnalyzer] available

_Issues occurred only in version 5. & works fine in version 4.*:_*

	Czech:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Danish:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Dutch
	org/apache/lucene/analysis/standard/StandardTokenizer

	Finnish:
	org/apache/lucene/analysis/standard/StandardTokenizer

	French:
	org/apache/lucene/analysis/standard/StandardTokenizer

	German:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Greek:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Italian:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Norwegian:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Portuguese
	org/apache/lucene/analysis/standard/StandardTokenizer

	Spanish:
	org/apache/lucene/analysis/standard/StandardTokenizer

	Swedish:
	org/apache/lucene/analysis/standard/StandardTokenizer

I’ve also added comment in LDEV-1023.

1 Like

Thanks for update,

Is there a difference, when we chose “English” language,
and the site is in French ?

It seems working fine.
Pierre.

Hi Pierre,

I noticed differences with words in the plural and with articles.

With french language, “salades” equal “salade”, and words like “le”, “la”, … are ignored, not with english language.

Etienne

Thanks for the info.
I use English in the meantime,
The problem is known for some langages, as said above by cfmitrah
so I wait for Lucee update.

has this been fixed in the meantime? I get this error when trying to search in a collection of German pages:

Lucee 5.2.5.20 Error (java.lang.NoClassDefFoundError)
Message 	org/apache/lucene/analysis/standard/StandardTokenizer