CFINDEX error after ugrading Lucee to V5


#1

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.


#2

Any news about this problem? I have same problem.


#3

No news, keep in touch.
Pierre.


#4

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.


#5

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

-Harry


#6

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.


#7

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


#8

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


#9

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.


#10

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.


#11

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

Thanks,

Michael


#12

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


#13

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.


#14

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.


#15

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.


#16

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.


#17

Hi everybody,

I have the same problem with Lucene.

Is there a solution today ?

Thanks for your help.

Etienne


#18

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


#19

So bad…

Thanks for your reply.

Etienne


#20

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

@Michael_Diederich reports

Solution:
Download the jar-zip from http://www.java2s.com/Code/Jar/a/Downloadapachelucenejar.htm
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:

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


Need help with Search