Need help with Search


#1

I would like to add a text search function to my website so I defined a new search collection in the Lucee Web Admin, pointed it to a folder, and tried ‘Search the collection’.

I got this error. What does it mean and can I do something about it?

Lucee 5.2.5.20 Error (java.lang.NoClassDefFoundError)
Message 	org/apache/lucene/analysis/standard/StandardTokenizer
Stacktrace 	The Error Occurred in /admin/services.search.cfm: line 362
called from /admin/web.cfm: line 400

#2

just a wild guess, did you add any content to be searched?


#3

there are hundreds of static HTML pages underneath the URL that I entered …


#4

I think that the error is suggesting that there is a missing Java class. Have you double checked the installation of the Lucene extension?


#5

looks like this was fixed recently, which version of the Lucene Search Engine
extension are you running?


https://luceeserver.atlassian.net/browse/LDEV-1023

if updating that doesn’t work, you might want to try the latest 5.2.7 snapshot


#6

hi all, I didn’t install Lucee and Lucene, the provider did that … I’ll check that with him …


#7

just so I understand that correctly - I have lots of static HTML files in folders and subfolders underneath the URL that I entered for my search collection. Is that the way it works? just entering a parent folder and everything underneath is automatically searchable? what does “Add/Update path index” do and is that necessary? (when I enter something here, I get the same error)


#8

(btw I want to use text search for German pages)