Adding custom Analyzers to Luke

2019-07-29 04:08发布

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.

标签: java lucene luke
1条回答
\"骚年 ilove
2楼-- · 2019-07-29 05:02

Just put the jar with your custom analyzer in the classpath.

查看更多
登录 后发表回答