Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createClient (0.28 sec)

  1. 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);
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. 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 =
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. 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);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top