本文介绍了Solr高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在这里看到了这篇文章,他很好地解释了如何显示突出显示的结果,但对我来说这是行不通的...
I saw this post here, he explains well howto show a highlighted result, but for me this is not going to work...
我得到了带有突出显示和所有内容的 lst,但是与没有突出显示的原始回复相比,其中的文本要少得多......
I am getting the lst with highlighting and all, but the text in that is very less compared to the original response without highlighting...
如何将高亮内容与 php 中的原始结果集合并?
How do I merge highlighting content with original result set in php ?
推荐答案
尝试 hl.fragsize增加 Solr 返回的突出显示片段的大小.
Try hl.fragsize to increase the size of the highlighted snippet returned by Solr.
这篇关于Solr高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!