开发者

Is there a maximum size for 'hl.maxAnalyzedChars' in Solr highlighting?

Is there a limit to开发者_JS百科 the size I can increase the hl.maxAnalyzedChars parameter to?


There is no limit to the size of hl.maxAnalyzedChars.

A value of -1 will give you unlimited characters, I've tested and confirmed this.


I do not know if there is a limit. Have you tried hl.maxAnalyzedChars = -1? That seems to be the solr default for unlimited characters, if that is what you are looking for. Based on this bug report (https://issues.apache.org/jira/browse/SOLR-610) it looks like it has been in since solr 1.3 or thereabouts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜