SEARCH-284, fix highlight isssue raised by SHA-1887. Removed maxAnalyzedChars in favour of solrs default values.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Michael Suzuki
2017-01-05 17:01:02 +00:00
parent 97baf5757a
commit 5a92f185d8

View File

@@ -764,7 +764,7 @@ public class Search extends BaseScopableProcessorExtension implements Initializi
{
int snippetCount = this.getIntegerValue("snippetCount", 20, highlighting);
int fragmentSize = this.getIntegerValue("fragmentSize", 50, highlighting);
int maxAnalyzedChars = this.getIntegerValue("maxAnalyzedChars", 500, highlighting);
Integer maxAnalyzedChars = null;//see SEARCH-284
boolean usePhraseHighlighter = this.getBooleanValue("usePhraseHighlighter", true, highlighting);
boolean mergeContiguous = this.getBooleanValue("mergeContiguous", true, highlighting);