首先,要说一下solrConfig.xml中关于spell的相关配置。
1、勾选,启动 spellChecker功能
2、
3、是否重新加载
4、输入要纠错的query
5、指定使用 的checkspeller
6、配置拼写检查提示结果的个数(可以根据需要适当加大),即suggestion 的最大个数。
7、Return only suggested words that are as frequent or more frequent than the searched word
10、返回的collation的 最大的个数。
12、精准度,即编辑距离的相似度