Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for contentBuilder (0.54 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
                            existingClasses.add(line.trim());
                        }
                        contentBuilder.append(line).append("\n");
                    }
                    existingContent = contentBuilder.toString();
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. 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;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            if (logger.isDebugEnabled()) {
                logger.debug("Set suggest settings. {} {}", settingsIndexName, map.toString());
            }
            try {
                final XContentBuilder builder = JsonXContent.contentBuilder().map(map);
                builder.flush();
                client.prepareUpdate()
                        .setIndex(settingsIndexName)
                        .setId(settingsId)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
                final XContentBuilder builder = JsonXContent.contentBuilder().map(source);
                builder.flush();
                client.prepareUpdate()
                        .setIndex(actualIndex)
                        .setId(id)
                        .setDocAsUpsert(true)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                throw new SuggesterException(e);
            }
        }
    
        private static OutputStream getXContentOutputStream(final Map<String, Object> firstLineMap) throws IOException {
            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
                return builder.getOutputStream();
            }
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertNotNull(yamlOutput);
        }
    
        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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. 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();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. 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();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. 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();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. 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();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top