Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for RESULT (0.03 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            testClient.existsIndexResult = false;
            testClient.createIndexResult = true;
    
            final boolean result = testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            assertTrue(result);
            // Should have created 4 indices (config x2, user x1, log x1)
            assertEquals(4, testClient.createdIndices.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                return this;
            }
    
            /**
             * Returns a new ApiResult instance with this ApiResponse.
             * @return A new ApiResult instance.
             */
            public ApiResult result() {
                return new ApiResult(this);
            }
        }
    
        /**
         * Represents an API response for an update operation.
         */
        public static class ApiUpdateResponse extends ApiResponse {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                            result.getMessage().getContent() != null ? result.getMessage().getContent().length() : 0);
                }
    
                writeJsonResponse(response, HttpServletResponse.SC_OK,
                        createSuccessResponse(result.getSessionId(), result.getMessage().getContent(), result.getMessage().getSources()));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                    messages.addErrorsFailedToStartJob(GLOBAL, id);
                });
            });
            return asJson(new ApiResult.ApiStartJobResponse().jobLogId(jobLogId[0]).status(Status.OK).result());
        }
    
        /**
         * Stops a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to stop
         * @return JSON response indicating success or failure
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    return false;
                }
    
                final Map<String, Object> result = parseJson(response.getContentAsString());
                final Boolean found = (Boolean) result.get("found");
                if (found == null || !found) {
                    return false;
                }
    
                final Map<String, Object> source = getMapValue(result, "_source");
                if (source == null) {
                    return false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            final LogNotificationAppender result = LogNotificationAppender.createAppender("testAppender", "ERROR", null, null);
            assertNotNull(result);
        }
    
        @Test
        public void test_createAppender_nullName() {
            final LogNotificationAppender result = LogNotificationAppender.createAppender(null, "ERROR", null, null);
            assertNull(result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            source.put("NestedMap", nested);
    
            Map<String, Object> result = searchLogHelper.toLowerHyphen(source);
    
            assertEquals("value1", result.get("test_key"));
            assertEquals("value2", result.get("another_test_key"));
    
            @SuppressWarnings("unchecked")
            Map<String, Object> nestedResult = (Map<String, Object>) result.get("nested_map");
            assertEquals("nestedValue", nestedResult.get("nested_key"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

            response.jobLogId("log-id-xyz").status(Status.OK);
            final ApiResult result = response.result();
            assertNotNull(result);
            assertNotNull(result.response);
            assertTrue(result.response instanceof ApiStartJobResponse);
            final ApiStartJobResponse resultResponse = (ApiStartJobResponse) result.response;
            assertEquals("log-id-xyz", resultResponse.jobLogId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        }
    
        @Test
        public void test_parseJson_invalid() {
            final Map<String, Object> result = coordinatorHelper.parseJson("invalid json");
            assertNotNull(result);
            assertTrue(result.isEmpty());
        }
    
        @Test
        public void test_parseJson_null() {
            final Map<String, Object> result = coordinatorHelper.parseJson(null);
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            params.put("m_param", "m_value");
            activityHelper.print("test", OptionalThing.empty(), params);
            String result = localLogMsg.get();
            assertTrue(result.indexOf("a_param") < result.indexOf("m_param"));
            assertTrue(result.indexOf("m_param") < result.indexOf("z_param"));
        }
    
        @Test
        public void test_printByEcs_escaping() {
            activityHelper.useEcsFormat = true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top