Analysis Debugging
写道
There is a handy analysis debugging page where you can see how a text value is broken down into words, and shows the resulting tokens after they pass through each filter in the chain.
本地启动的solr 分析Canon PowerShot SD500后分词的结果为 Index Analyzer
Canon
PowerShot
SD500
Canon
PowerShot
SD500
Canon
Power
Shot
SD
500
PowerShot
canon
power
shot
sd
500
powershot
canon
power
shot
sd
500
powershot
canon
power
shot
sd
500
powershot
写道
Selecting verbose output will show more details, such as the name of each analyzer component in the chain, token positions, and the start and end positions of the token in the original text.
Selecting highlight matches when both index and query values are provided will take the resulting terms from the query value and highlight all matches in the index value analysis. verbose output更多分词细节描述 highlight matches
在 http://localhost:8983/solr/admin/analysis.jsp 页面输入 Field value (Query)将同时得到 搜索结果,可高亮显示。 Index Analyzer