CFINDEX error after ugrading Lucee to V5

cfindex, and searching functions working with Lucee v4.5

After upgrade to Lucee V5
the CFINDEX gives that error :

Lucee 5.0.0.252 Error (java.lang.ClassNotFoundException)
Message   org.apache.lucene.analysis.standard.StandardTokenizer not found 
by apache.lucene.analyzers [86]
Cause 

java.lang.ClassNotFoundException

Class not found , is there some files missing ?

The V5 upgrade have placed the lucee.jar in the lucee/lib directory (all
previous have been removed)

Thanks for any suggestion,

Pierre.

Any news about this problem? I have same problem.

No news, keep in touch.
Pierre.

Is there anyone who can explain why CFINDEX gives an error with Lucee V5
I suppose many others have experienced this ?
Thanks for any help.
In th mean time, I get back to v4.5
Pierre.

Just to be sure: Did you install the Lucene application (Lucene Search Engine)?

-Harry

No, I understood it is delivered within Lucee.
Under Lucee V4.5 I did not install Lucene application,
it was in the package and it works.
Thanks for clarification.
Pierre.

I am not aware of a Lucene install guide.
I am also not using the integrated search functionality (which is imho limited), but special components for Lucene and Elasticsearch.

-Harry

Who could give some guideline to install Lucene and make Lucee v5 linked
with Lucene ?
Thanks Pierre.

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