- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for createClient (0.32 seconds)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
/** * Connects to the OpenSearch cluster. * Creates a new client and waits for cluster health to be yellow or better. */ public void connect() { destroy(); client = createClient(); final String[] indices = targetIndices != null ? targetIndices : new String[0]; final ClusterHealthResponse healthResponse =Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 26.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
// Should not throw NullPointerException try { // Note: We can't easily test connect() fully without mocking createClient() // This test verifies the null check logic indirectly final String[] indices = fesenClient.targetIndices != null ? fesenClient.targetIndices : new String[0]; assertNotNull(indices);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} }); if (logger.isDebugEnabled()) { logger.debug("Tags updated: from={}, to={}", tagItems, tags); } try (StorageClient client = StorageClientFactory.createClient()) { client.setObjectTags(objectName, tags); } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0)