solr 分词 后 结果

http://lucene.apache.org/solr/tutorial.html

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.
 

 


这个功能可以很方便的看到在经过多个过滤器后切词后我们得到的分词情况

http://localhost:8983/solr/admin/analysis.jsp?name=name&val=Canon+PowerShot+SD500

本地启动的solr 分析Canon PowerShot SD500后分词的结果为

 

Index Analyzer

CanonPowerShotSD500
CanonPowerShotSD500
CanonPowerShotSD500
PowerShot
canonpowershotsd500
powershot
canonpowershotsd500
powershot
canonpowershotsd500
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

CanonPowerShotSD500
CanonPowerShotSD500
CanonPowerShotSD500
PowerShot
canonpowershotsd500
powershot
canonpowershotsd500
powershot
canonpowershotsd500
powershot

Query Analyzer

power-shot
power-shot
power-shot
powershot
powershot
powershot
powershot
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值