<!–
pre { direction: ltr; color: rgb(0, 0, 0); }pre.western { }pre.cjk { }pre.ctl { font-family: “Liberation Mono”,monospace; }td p { margin-bottom: 0cm; direction: ltr; color: rgb(0, 0, 0); }td p.western { font-family: “Liberation Serif”,”Times New Roman”,serif; font-size: 12pt; }td p.cjk { font-family: “文泉驿点阵正黑”; font-size: 12pt; }td p.ctl { font-family: “Lohit Devanagari”; font-size: 12pt; }p { margin-bottom: 0.25cm; direction: ltr; color: rgb(0, 0, 0); line-height: 120%; }p.western { font-family: “Liberation Serif”,”Times New Roman”,serif; font-size: 12pt; }p.cjk { font-family: “文泉驿点阵正黑”; font-size: 12pt; }p.ctl { font-family: “Lohit Devanagari”; font-size: 12pt; }code.ctl { font-family: “Liberation Mono”,monospace; }a:link { }
–>
q条件 |
默认分词(org.apache.solr.analysis.TokenizerChain) |
IK分词(org.wltea.analyzer.lucene.IKAnalyzer) |
title:李大霄 title:招商银行 |
|
|
title:”李大霄” title:”招商银行” |
结果:7 |
结果:3 |
title:*李大霄* title:*招商银行* |
结果:0 |
结果:3 |
title:”*李大霄*” title:”*招商银行*” |
结果:7 |
结果:3 |
<!–
pre { direction: ltr; color: rgb(0, 0, 0); }pre.western { font-family: “Liberation Mono”,”Courier New”,monospace; }pre.cjk { }pre.ctl { font-family: “Liberation Mono”,”Courier New”,monospace; }td p { margin-bottom: 0cm; direction: ltr; color: rgb(0, 0, 0); }td p.western { font-family: “Liberation Serif”,”Times New Roman”,serif; font-size: 12pt; }td p.cjk { font-family: “文泉驿点阵正黑”; font-size: 12pt; }td p.ctl { font-family: “Lohit Devanagari”; font-size: 12pt; }p { margin-bottom: 0.25cm; direction: ltr; color: rgb(0, 0, 0); line-height: 120%; }p.western { font-family: “Liberation Serif”,”Times New Roman”,serif; font-size: 12pt; }p.cjk { font-family: “文泉驿点阵正黑”; font-size: 12pt; }p.ctl { font-family: “Lohit Devanagari”; font-size: 12pt; }code.western { font-family: “Liberation Mono”,”Courier New”,monospace; }code.ctl { font-family: “Liberation Mono”,”Courier New”,monospace; }a:link { }
–>
q条件 |
默认分词(solr.StandardTokenizerFactory) |
IK分词 |
title:公告 |
|
|
title:”公告” |
结果:554 |
结果:554 |