Vector tiles buffer is used to include data that is just outside of the tile. This data is used to prevent border effects when rendering the geometries. It is currently [hardcoded to 5 pixels](https://github.com/elastic/elasticsearch/blob/de2781f98696c1e6cfad2b5bf46fe752a5e3edbb/x-pack/plugin/vector-tile/src/main/java/org/elasticsearch/xpack/vectortile/feature/FeatureFactory.java#L63) but it should probably need to be user configurable by adding a new property on the vector tiles API which can change the value.




x-pack/plugin/vector-tile/src/main/java/org/elasticsearch/xpack/vectortile/rest/VectorTileRequest.java
}
        this.aggs = aggs;
    }
    public List<SortBuilder<?>> getSortBuilders() {
        if (sortBuilders == null) {
            if (size == 0) {
                
                return List.of();
            }
            return List.of(
                new ScriptSortBuilder(
                    new Script(Script.DEFAULT_SCRIPT_TYPE, Script.DEFAULT_SCRIPT_LANG, SCRIPT, Map.of(FIELD_PARAM, getField())),
                    ScriptSortBuilder.ScriptSortType.NUMBER
                ).order(SortOrder.DESC)
            );
        } else {
            return sortBuilders;
        }
    }
    private void setSortBuilders(List<SortBuilder<?>> sortBuilders) {
        this.sortBuilders = sortBuilders;
    }
    public int getTrackTotalHitsUpTo() {
        return trackTotalHitsUpTo;
    }
    private void setTrackTotalHitsUpTo(int trackTotalHitsUpTo) {
        this.trackTotalHitsUpTo = trackTotalHitsUpTo;
    }
}