Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 407 for match2 (0.04 seconds)

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

  1. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

                    return false;
                }
            });
    
            final MockHttpServletRequest request = new MockHttpServletRequest();
            request.setServletPath("/api/v1/chat");
    
            assertFalse(chatApiManager.matches(request));
        }
    
        @Test
        public void test_matches_ragChatEnabled_validPath() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            String expectedType = "OAuth";
            String expectedMessage = "OAuth token is invalid";
    
            try {
                throw new InvalidAccessTokenException(expectedType, expectedMessage);
            } catch (InvalidAccessTokenException e) {
                assertEquals(expectedType, e.getType());
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            }
            return convertTextQuery(fessConfig, context, termQuery, boost, field, text);
        }
    
        /**
         * Converts a term query to a text-based match phrase query.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                    cause.printStackTrace(pw);
                    pw.flush();
                    sb.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Writes custom headers to the HTTP response.
         * @param response The HTTP servlet response.
         */
    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)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

            if (StringUtil.isNotBlank(name)) {
                try {
                    return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale);
                } catch (final Exception e) {
                    logger.debug("Failed to parse locale: name={}", name, e);
                }
            }
            return OptionalObject.empty();
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    } catch (final SuggestSettingsException e) {
                        logger.warn("Failed to add suggest field: field={}", field, e);
                    }
                }));
                suggester.createIndexIfNothing();
            } catch (final Exception e) {
                logger.warn("Failed to initialize Suggester.", e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                        WebApiUtil.validate();
                    } catch (Exception e) {
                        errorCount.incrementAndGet();
                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            try {
                latch.await();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

         */
        public void offer(final LogNotificationEvent event) {
            int maxBufferSize;
            try {
                maxBufferSize = ComponentUtil.getFessConfig().getLogNotificationBufferSizeAsInteger();
            } catch (final Exception e) {
                maxBufferSize = 1000;
            }
            queue.offer(event);
            if (size.incrementAndGet() > maxBufferSize) {
                if (queue.poll() != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top