Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for filterXContentOnParser (0.13 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

            return FetchSourcePhase.objectToBytes(value, XContentType.JSON, Math.min(1024, lookup.internalSourceRef().length()));
        }
    
        @Benchmark
        public BytesReference filterXContentOnParser() throws IOException {
            BytesStreamOutput streamOutput = new BytesStreamOutput(Math.min(1024, sourceBytes.length()));
            XContentBuilder builder = new XContentBuilder(XContentType.JSON.xContent(), streamOutput);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
Back to Top