public void setProximityLimit(int proximityLimit) {
        ensureNotFrozen();
        this.proximityLimit=proximityLimit;
    }
Sets the maximum allowed gap within a segment. Default: 10
searchlib/src/main/java/com/yahoo/searchlib/ranking/features/fieldmatch/FieldMatchMetricsParameters.java