Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 412 for match4 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            exceptionParams.put("throwException", true);
    
            try {
                queryRescorer.evaluate(exceptionParams);
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        @Test
        public void test_evaluate_concurrency() {
            queryRescorer = new QueryRescorer() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                                            list.add(QueryBuilders.geoDistanceQuery(geoField).distance(distance).point(lat, lon));
                                        } catch (final Exception ex) {
                                            throw new InvalidQueryException(
                                                    messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                    userService.store(entity);
                    logger.info("Created user: {}", entity.getName());
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to create user: {}", form.name, e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 21K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            outsideFile.createNewFile();
    
            try {
                action.validateFilePath(outsideFile.getAbsolutePath());
                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
                final String message = e.getMessage();
                assertTrue("Error message should contain var path: " + message, message.contains(varDir.toFile().getCanonicalPath()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    import static org.apache.commons.io.FileUtils.ONE_MB_BI;
    import static org.apache.commons.io.FileUtils.ONE_PB_BI;
    import static org.apache.commons.io.FileUtils.ONE_TB_BI;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.time.LocalDateTime;
    import java.time.ZonedDateTime;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    import java.util.Objects;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

                                List<LogNotificationEvent> drained = helper.drainAll();
                                totalDrained.addAndGet(drained.size());
                            }
                        }
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                    } finally {
                        doneLatch.countDown();
                    }
                });
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull(e, "Exception should not be null if thrown");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java

                result.setUpdatedTime(DfTypeUtil.toLong(source.get("updatedTime")));
                result.setUsername(DfTypeUtil.toString(source.get("username")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the current CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param dictId the dictionary ID for error handling
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

                        logger.debug("Updating job schedule: name={}", scheduledJob.getName());
                    }
                    try {
                        jobHelper.register(scheduledJob);
                    } catch (final Exception e) {
                        logger.warn("Failed to update schedule: job={}", scheduledJob, e);
                    }
                });
                schedulerTime = now;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top