Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for startObject (0.11 sec)

  1. test-site/app/controllers/Suggest.java

                SuggestResponse response = suggestIndex.suggest(query[0]);
    
                XContentBuilder builder  = JsonXContent.contentBuilder()
                    .startObject()
                    .startObject("response")
                    .startArray("result")
                    .startObject()
                    .startArray("result");
    
                for(String word: response.getWords()) {
                    builder.value(word);
                }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                }
                if (empty) {
                    client.admin().indices().preparePutMapping(actualIndex)
                            .setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY)
                                    .field("type", "keyword").endObject().endObject().endObject())
                            .execute().actionGet(settings.getIndicesTimeout());
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

                }
            }
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (transformerName != null) {
                builder.field(TRANSFORMER_NAME, transformerName);
            }
            if (data != null) {
                builder.field(DATA, data);
            }
    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

        public static final String WEIGHT = "weight";
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (url != null) {
    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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        public void setUrl(final String url) {
            this.url = url;
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (filterType != null) {
                builder.field(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)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

            initializedData = true;
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (ruleId != null) {
                builder.field(RULE_ID, ruleId);
            }
            if (url != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                final NodesStatsResponse response = esClient.admin().cluster().prepareNodesStats().all().execute().actionGet(10000L);
                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)
  8. src/main/java/org/codelibs/fess/entity/PingResponse.java

            final Set<String> fieldSet = ComponentUtil.getFessConfig().getApiPingEsFieldSet();
            try (OutputStream out = SearchEngineUtil.getXContentBuilderOutputStream((builder, params) -> {
                builder.startObject();
                if (fieldSet.contains(CLUSTER_NAME)) {
                    builder.field(CLUSTER_NAME, response.getClusterName());
                }
                if (fieldSet.contains(STATUS)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            out.writeOptionalString(storeName);
        }
    
        @Override
        protected void doXContent(final XContentBuilder builder, final Params params) throws IOException {
            builder.startObject(NAME);
            if (modelName != null) {
                builder.field(MODEL_NAME.getPreferredName(), modelName);
            }
            if (featureSetName != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                if (statObject == null) {
                    final StatObjectArgs args = StatObjectArgs.builder().bucket(bucketName).object(objectName).build();
                    statObject = minioClient.statObject(args);
                }
                return statObject;
            }
    
            @Override
            public long getContentLengthLong() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top