Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for XContentBuilder (0.07 seconds)

  1. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

             *
             * @param builder the XContentBuilder to use for building content
             * @param params the parameters to use during content building
             * @return the modified XContentBuilder
             * @throws IOException if an IO error occurs during building
             */
            XContentBuilder apply(XContentBuilder builder, ToXContent.Params params) throws IOException;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertNotNull(yamlOutput);
        }
    
        @Test
        public void test_getXContentOutputStream_success() {
            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
                    builder.startObject();
                    builder.field("content", "test");
                    builder.endObject();
                    return builder;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the access result data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the URL queue data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

        @Benchmark
        public BytesReference filterXContentOnParser() throws IOException {
            BytesStreamOutput streamOutput = new BytesStreamOutput(Math.min(1024, sourceBytes.length()));
            XContentBuilder builder = new XContentBuilder(XContentType.JSON.xContent(), streamOutput);
            try (
                XContentParser parser = XContentType.JSON.xContent()
                    .createParser(
                        NamedXContentRegistry.EMPTY,
    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)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the URL filter data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the access result data.
         * @throws IOException if the conversion fails.
         */
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        @Override
        public void visit(final QueryBuilderVisitor visitor) {
            queryBuilder.visit(visitor);
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            return queryBuilder.toXContent(builder, params);
        }
    
        @Override
        public void writeTo(final StreamOutput out) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        /**
         * Converts the target object to an XContentBuilder for OpenSearch indexing.
         *
         * @param target The object to convert to JSON.
         * @return The XContentBuilder containing the JSON representation of the target.
         * @throws OpenSearchAccessException if the conversion fails.
         */
        protected XContentBuilder getXContentBuilder(final Object target) {
            try {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

    import org.opensearch.action.admin.cluster.node.stats.NodesStatsResponse;
    import org.opensearch.common.xcontent.XContentFactory;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.monitor.jvm.JvmStats;
    import org.opensearch.monitor.jvm.JvmStats.BufferPool;
    import org.opensearch.monitor.jvm.JvmStats.Classes;
    import org.opensearch.monitor.jvm.JvmStats.GarbageCollectors;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top