- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for isExists (0.05 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
final IndicesExistsResponse response = client.admin().indices().prepareExists(getSearchAlias(index)).execute().actionGet(suggestSettings.getIndicesTimeout()); if (!response.isExists()) { final String mappingSource = getDefaultMappings(); final String settingsSource = getDefaultIndexSettings(); final String indexName = createIndexName(index);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
log.trace("Using cached attributes"); return this.isExists; } this.attributes = ATTR_READONLY | ATTR_DIRECTORY; this.createTime = 0L; this.lastModified = 0L; this.lastAccess = 0L; this.isExists = false; try { if ( this.url.getHost().length() == 0 ) {}
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
boolean exists = false; try { final IndicesExistsResponse response = fesenClient.get(c -> c.admin().indices().prepareExists(index).execute()); exists = response.isExists(); } catch (final IndexNotFoundException e) { // ignore } if (!exists) { final CreateIndexResponse indexResponse = fesenClient.get(c -> {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
for (final SuggestItem item : mergedItems) { final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30)); if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId()).setOpType(IndexRequest.OpType.INDEX)
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
.setExpandWildcardsOpen(expandWildcardsOpen).execute().actionGet(fessConfig.getIndexSearchTimeout()); return response.isExists(); } catch (final Exception e) { // ignore } return false; } public static void deleteIndex(final IndicesAdminClient indicesClient, final String index,
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
try { final IndicesExistsResponse response = client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout()); if (!response.isExists()) { createAnalyzerSettings(loadIndexSettings(), loadIndexMapping()); } analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
try { final IndicesExistsResponse response = client.admin().indices().prepareExists(indexName).execute().actionGet(fessConfig.getIndexSearchTimeout()); exists = response.isExists(); } catch (final Exception e) { logger.debug("Failed to check {} index status.", indexName, e); } return exists; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
* * @param path * リソースのパス。{@literal null}や空文字列であってはいけません * @return リソースが存在すれば{@literal true} * @see #getResourceNoException(String) */ public static boolean isExist(final String path) { assertArgumentNotEmpty("path", path); return getResourceNoException(path) != null; } /** * コンテキストクラスローダからプロパティファイルをロードして返します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0)