Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toXContent (0.07 sec)

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

                    hit -> callback.apply(hit));
        }
    
        public static String getXContentString(final ToXContent xContent, final MediaType mediaType) {
            try {
                return XContentHelper.toXContent(xContent, mediaType, ToXContent.EMPTY_PARAMS, false).utf8ToString();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

            }
            if (lastModified != null) {
                builder.field(LAST_MODIFIED, lastModified);
            }
            if (accessResultData instanceof ToXContent) {
                builder.field(ACCESS_RESULT_DATA);
                ((ToXContent) accessResultData).toXContent(builder, params);
            }
            builder.endObject();
            return builder;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

    import org.codelibs.core.misc.Base64Util;
    import org.codelibs.fess.crawler.exception.OpenSearchAccessException;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    
    public class OpenSearchAccessResultData extends AccessResultDataImpl<String> implements ToXContent {
    
        public static final String ID = "id";
    
        public static final String TRANSFORMER_NAME = "transformerName";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

     */
    package org.codelibs.fess.crawler.entity;
    
    import java.io.IOException;
    
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    
    public class OpenSearchUrlQueue extends UrlQueueImpl<String> implements ToXContent {
    
        public static final String ID = "id";
    
        public static final String SESSION_ID = "sessionId";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                final XContentBuilder builder = XContentFactory.jsonBuilder();
                builder.startObject();
                response.toXContent(builder, ToXContent.EMPTY_PARAMS);
                builder.endObject();
                builder.flush();
                try (OutputStream out = builder.getOutputStream()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

     */
    package org.codelibs.fess.crawler.entity;
    
    import java.io.IOException;
    
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    
    public class OpenSearchUrlFilter implements ToXContent {
    
        public static final String SESSION_ID = "sessionId";
    
        public static final String FILTER_TYPE = "filterType";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        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 {
            queryBuilder.writeTo(out);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top