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.
Configure an Analyzer
Section titled “Configure an Analyzer”Edit the $TOMCAT_HOME/OpenKM.cfg file and add the line:
hibernate.search.analyzer=org.apache.lucene.analysis.es.SpanishAnalyzer