Adding custom Analyzers to Luke
Luke, the wonderful Lucene index viewer, is now hosted under Google code. As a default, it supports using several 开发者_如何转开发Lucene Analyzers out of the box. However, I would like to use it to view an index I built using my own custom Analyzer, Let's call it MyAnalyzer. Can you please tell me how to add MyAnalyzer to Luke, along with the default analyzers? Googling and some examination of the lukeall jar gave me no clue.
Just put the jar with your custom analyzer in the classpath.
精彩评论