- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for statObject (0.18 sec)
-
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
protected LoadingCache<String, StatsObject> statsCache; @PostConstruct public void init() { statsLogger = LogManager.getLogger(loggerName); statsCache = CacheBuilder.newBuilder().maximumSize(maxCacheSize).expireAfterWrite(cacheExpireAfterWrite, TimeUnit.MILLISECONDS) .build(new CacheLoader<String, StatsObject>() { @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 2.2K bytes - Viewed (0) -
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: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/entity/EsUrlQueue.java
public static final String CREATE_TIME = "createTime"; @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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/entity/EsAccessResultData.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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/entity/EsUrlFilter.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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.1K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/entity/EsAccessResult.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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0)