开发者

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

开发者 https://www.devze.com 2023-03-01 06:47 出处:网络
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.

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

精彩评论

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