Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 132 for codec (0.03 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                dictionaryPath = dictionaryPath + "/";
            }
            source = source.replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath)//
                    .replaceAll(Pattern.quote("${fess.index.codec}"), fessConfig.getIndexCodec())//
                    .replaceAll(Pattern.quote("${fess.index.number_of_shards}"), numberOfShards)//
                    .replaceAll(Pattern.quote("${fess.index.auto_expand_replicas}"), autoExpandReplicas);
    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)
  2. CLAUDE.md

    ```
    
    ### Running
    ```bash
    ./bin/fess              # From command line
    # Or run org.codelibs.fess.FessBoot from IDE
    # Access: http://localhost:8080/ (Admin: admin/admin)
    ```
    
    ### Code Formatting
    ```bash
    mvn formatter:format    # Format code
    mvn license:format      # Add license headers
    ```
    
    ## Directory Structure
    
    ```
    src/main/java/org/codelibs/fess/
    ├── FessBoot.java              # Application entry point
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_statusCode_variousHttpCodes() {
            // Test with various HTTP status codes
            int[] statusCodes = { 200, 201, 400, 401, 403, 404, 500, 502, 503 };
    
            for (int statusCode : statusCodes) {
                WebApiException exception = new WebApiException(statusCode, "Test message");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Verify different message codes
            assertEquals(unknownErrorCode, unknownException.getMessageCode());
            assertEquals(parseErrorCode, parseException.getMessageCode());
            assertNotSame(unknownException.getMessageCode(), parseException.getMessageCode());
        }
    
        @Test
        public void test_complexMessageCode() {
            // Setup - test with a complex message code that includes parameters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

        }
    
        /**
         * Test HTTP status code constants are defined correctly
         */
        @Test
        public void test_httpStatusCodeConstants() {
            // Verify the constants are accessible via reflection or by checking their usage
            // Since the constants are private, we test their values indirectly
    
            // The constants should match standard HTTP status codes
            // HTTP_STATUS_NOT_FOUND = 404
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        /**
         * Retrieves the user code for the current request.
         * The user code is used to uniquely identify users across sessions and requests.
         * It checks multiple sources in order: request attribute, request parameter, cookie, user bean, or generates a new one.
         *
         * @return the user code string, or null if no valid session exists
         */
        public String getUserCode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. ADDING_NEW_LANGUAGE.md

    ### Fallback Mechanism
    
    If a translation is missing in `fess_label_[locale].properties`, Fess automatically falls back to the base `fess_label.properties` (English).
    
    ### Language Code Format
    
    Use standard locale codes:
    - ISO 639-1 language codes: `en`, `ja`, `de`, `fr`, `sv`, etc.
    - With region when needed: `pt_BR`, `zh_CN`, `zh_TW`, `en_IE`
    
    ### Cache Behavior
    
    - Language items are cached for 1 hour by `SystemHelper`
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test error handling with edge cases
            try {
                // Test with extreme status codes
                WebApiUtil.setError(-1, "Negative status code");
                WebApiUtil.setError(0, "Zero status code");
                WebApiUtil.setError(999, "Large status code");
    
                // Test with very long message
                StringBuilder longMessage = new StringBuilder();
    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)
  9. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_differentMessageCodes() {
            // Setup - test with different message codes
            final String message = "Test message";
            final VaMessenger<FessMessages> loginErrorCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

                    .put(getApiPath() + "/upload");
    
            int statusCode = response.getStatusCode();
            // Accept either 200 (success) or other status codes based on implementation
            assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode);
    
            if (statusCode == 200) {
                JsonPath jsonPath = JsonPath.from(response.asString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top