一个 我需要执行词组搜索.在搜索结果中,我得到了确切的短语匹配,但看着突出显示的部分,我看到短语是标记化的,即这是我在搜索"第1天"时得到的结果:
<arr name="post">
<str><em>Day</em> <em>1</em> We have begun a new adventure! An early morning (4:30 a.m.) has found me meeting with</str>
</arr>
Run Code Online (Sandbox Code Playgroud)
这是我想要收到的结果:
<arr name="post">
<str><em>Day 1</em> We have begun a new adventure! An early morning (4:30 a.m.) has found me meeting with</str>
</arr>
Run Code Online (Sandbox Code Playgroud)
我正在做的查询是这样的: 管理控制台:
q = day 1
fq = post:"day 1" OR title:"day 1"
hl = true
hl.fl =title,post
Run Code Online (Sandbox Code Playgroud)
选择Q =天+ 1&FQ =张贴%3A%22天+ 1%22 + OR +标题%3A%22天+ 1%22重量= XML&缩进=真HL =真hl.fl =标题%2Cpost&hl.simple.pre =%3Cem%3E&HL .simple.post =%3C%2Fem%3E
Theese是我的领域:
<field …Run Code Online (Sandbox Code Playgroud) solr ×1