Skip to content
Other versions

Loading…

Configuring Lucene Analyzer

Depending on the language used in the documents and properties, you can obtain better search results configuring a proper Lucene Analyzer.  

By default, OpenKM use the org.apache.lucene.analysis.standard.StandardAnalyzer which works fine with English and most languages, but you can get better search results configuring a more specific analyzer for you language.

 If you have not configured the search analyzer before the first time you start OpenKM, then Lucene index will be created using this default analyzer.  

Edit the $TOMCAT_HOME/OpenKM.cfg file and add the line:

hibernate.search.analyzer=org.apache.lucene.analysis.es.SpanishAnalyzer