This seems a very recent addition<https://github.com/elasticsearch/elasticsearch/commit/14a709f563a264c4371392e31c7bee9d26758056> to ES and the config param finally called no_match_size. It looks like that the way to define this is in a Highlighter Field as follows:
HighlightBuilder.Field field = new HighlightBuilder.Field("text") .fragmentSize(21) .numOfFragments(1) .highlighterType("plain") .*noMatchSize(20);* and, in the SearchRequestBuilder assign this field as follows: ... .addHighlightedField(*field*) ... Unfortunately my ES 0_90_5, HighlightBuilder still does not contain this method noMatchSize <https://github.com/elasticsearch/elasticsearch/blob/14a709f563a264c4371392e31c7bee9d26758056/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java#L455>so it looks that I have to upgrade my ES to latest release. To be confirmed.... Regards. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3709de3c-1acf-4f4e-b71b-dbedd789e865%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.