Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.6-dev
-
None
-
All
Description
I wanted the ability to switch out which analyzer was being used in the Search - I noticed that the LuceneSearchService was hard-coded to use the SimpleAnalyzer.
So, I changed that to be configurable via a property file, a la:
services.Search.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
- or -
services.Search.analyzer=org.apache.lucene.analysis.SimpleAnalyzer - or -
services.Search.analyzer=org.apache.lucene.analysis.ru.RussianAnalyzer
etc.
Patch submitted to jetspeed-dev