Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for endObject (0.09 sec)

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

                for(String word: response.getWords()) {
                    builder.value(word);
                }
    
                String json = builder.endArray()
                    .endObject()
                    .endArray()
                    .endObject()
                    .endObject().string();
                if(callback != null && callback.length > 0) {
                    json = callback[0] + '(' + json + ')';
                }
                return ok(json);
    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

                            .setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY)
                                    .field("type", "keyword").endObject().endObject().endObject())
                            .execute().actionGet(settings.getIndicesTimeout());
                }
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
    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

            }
            if (data != null) {
                builder.field(DATA, data);
            }
            if (encoding != null) {
                builder.field(ENCODING, encoding);
            }
            builder.endObject();
            return builder;
        }
    
    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

                builder.field(LAST_MODIFIED, lastModified);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
            }
            builder.field(WEIGHT, weight);
            builder.endObject();
            return builder;
        }
    
    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

            }
            if (filterType != null) {
                builder.field(FILTER_TYPE, filterType);
            }
            if (url != null) {
                builder.field(URL, url);
            }
            builder.endObject();
            return builder;
        }
    
    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. 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()) {
                    stats = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

            }
            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)
  8. src/main/java/org/codelibs/fess/entity/PingResponse.java

                }
                if (fieldSet.contains(ACTIVE_SHARDS_PERCENT_AS_NUMBER)) {
                    builder.field(ACTIVE_SHARDS_PERCENT_AS_NUMBER, response.getActiveShardsPercent());
                }
                builder.endObject();
                return builder;
            }, XContentType.JSON)) {
                message = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                if (StringUtil.isBlank(message)) {
    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

            }
            if (activeFeatures != null && !activeFeatures.isEmpty()) {
                builder.field(ACTIVE_FEATURES.getPreferredName(), activeFeatures);
            }
            printBoostAndQueryName(builder);
            builder.endObject();
        }
    
        @Override
        protected Query doToQuery(final QueryShardContext context) throws IOException {
            throw new UnsupportedOperationException("Query processing is not supported.");
        }
    
    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. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            try (final JsonParser jsonParser = jsonFactory.createJsonParser(jwtClaim)) {
                while (jsonParser.nextToken() != JsonToken.END_OBJECT) {
                    final String name = jsonParser.getCurrentName();
                    if (name != null) {
                        jsonParser.nextToken();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top