Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for ting (0.02 seconds)

  1. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                resultBuf.append("Status of ")
                        .append(ping.getClusterName())
                        .append(" is changed to ")
                        .append(ping.getClusterStatus())
                        .append('.');
            } else if (status == 0) {
                resultBuf.append(ping.getClusterName()).append(" is alive.");
            } else {
                resultBuf.append(ping.getClusterName()).append(" is not available.");
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            assertEquals("Status of production-cluster is changed to GREEN.", result);
        }
    
        // Test with exception during ping
        @Test
        public void test_execute_pingException() {
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
                public PingResponse ping() {
                    throw new RuntimeException("Connection failed");
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            LABEL,
            /** Popular word API format. */
            POPULARWORD,
            /** Favorite API format. */
            FAVORITE,
            /** Favorites API format. */
            FAVORITES,
            /** Ping API format. */
            PING,
            /** Scroll API format. */
            SCROLL,
            /** Suggest API format. */
            SUGGEST,
            /** Other API format. */
            OTHER;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/PingResponse.java

    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.cluster.health.ClusterHealthStatus;
    import org.opensearch.common.xcontent.XContentType;
    
    /**
     * Response entity for ping operations.
     */
    public class PingResponse {
        private static final String CLUSTER_NAME = "cluster_name";
        private static final String STATUS = "status";
        private static final String TIMED_OUT = "timed_out";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.4K bytes
    - Click Count (2)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final PingResponse pingResponse = searchEngineClient.ping();
                writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE,
                        "\"data\":" + pingResponse.getMessage());
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a ping request.", e);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

        }
    
        /**
         * Gets the cookie remember-me key for persistent login.
         * Currently returns empty as remember-me functionality is not enabled.
         *
         * @return an optional thing containing the remember-me key, or empty if not configured
         */
        @Override
        protected OptionalThing<String> getCookieRememberMeKey() {
            // example to use remember-me
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                    return true; // Continue processing
                });
            } catch (Exception e) {
                // Expected in test environment without proper SearchEngineClient
                // The important thing is that the method exists and accepts the correct parameters
            }
    
            // Verify that the scroll method exists with correct signature
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            });
    
        }
    
        /**
         * Pings the search engine cluster to check connectivity and health.
         *
         * @return the ping response with cluster information
         * @throws SearchEngineClientException if the ping fails
         */
        public PingResponse ping() {
            try {
                final ClusterHealthResponse response =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  9. src/main/resources/fess_indices/_aws/fess.json

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 117.5K bytes
    - Click Count (0)
  10. src/main/resources/fess_indices/_cloud/fess.json

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 117.5K bytes
    - Click Count (0)
Back to Top