diff --git a/source/java/org/alfresco/repo/jscript/Search.java b/source/java/org/alfresco/repo/jscript/Search.java index 00ff4b0b48..1c35662879 100644 --- a/source/java/org/alfresco/repo/jscript/Search.java +++ b/source/java/org/alfresco/repo/jscript/Search.java @@ -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);