Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for applies (0.04 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

     * and processes them to create thumbnail images based on configured dimensions
     * and format settings.
     *
     * <p>The generator validates image MIME types, processes image data through
     * ImageIO operations, and applies scaling and cropping to generate thumbnails
     * that meet the specified size requirements.</p>
     *
     */
    public class HtmlTagBasedGenerator extends BaseThumbnailGenerator {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                }
            } catch (final Exception e) {
                logger.warn("Failed to initialize TikaExtractor.", e);
            }
        }
    
        /**
         * Processes and normalizes a document title.
         * Applies text normalization using configured space characters and returns
         * a clean title suitable for indexing.
         *
         * @param responseData the response data from crawling (not currently used)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            Exception cause = new RuntimeException("Runtime error");
    
            SearchQueryException exception = new SearchQueryException(null, cause);
    
            // When message is null, the parent constructor behavior applies
            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_nestedExceptionChain() {
            // Test nested exception chain
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(0, qrList.getOffset());
    
            // Page info should be calculated (allRecordCount=100, pageSize=10 => 10 pages)
            // But since size() < pageSize, collapsing logic applies and allPageCount becomes currentPageNumber
            assertEquals(1, qrList.getAllPageCount()); // Collapsed to current page due to size() = 1 < pageSize = 10
            assertEquals(1, qrList.getCurrentPageNumber());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            } catch (final NamingException e) {
                throw new LdapOperationException("Failed to parse attribute values for " + name, e);
            }
        }
    
        /**
         * Applies LDAP attributes to a user object.
         *
         * @param user the user object to populate with LDAP attributes
         */
        public void apply(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                throw new LlmException("Request interrupted", LlmException.ERROR_TIMEOUT);
            }
        }
    
        // --- Per-prompt-type parameter application ---
    
        /**
         * Applies per-prompt-type parameters to the request from configuration.
         * Reads temperature, max.tokens, and thinking.budget from config using
         * the pattern: {configPrefix}.{promptType}.{paramName}
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

                return new ChatSearchResult(Collections.emptyList(), null, 0L);
            }
            return null;
        }
    
        /**
         * Searches for documents relevant to the user's query.
         * SearchHelper applies role-based access control filtering through
         * SearchRequestType.JSON and the role filter mechanism, ensuring
         * users only see documents they are authorized to access.
         * <p>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertTrue(messages.get(5).getContent().contains("More details"));
        }
    
        @Test
        public void test_buildIntentRequest_manyTurns_trimmed() {
            // Verify maxHistory=6 applies for structured messages
            final List<LlmMessage> history = new ArrayList<>();
            for (int i = 1; i <= 8; i++) {
                history.add(LlmMessage.user("Question " + i));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            assertNotNull(result);
            // PhraseQueryCommand returns DefaultQueryBuilder which wraps either Bool or DisMax
            assertTrue(result instanceof DefaultQueryBuilder);
            // The boost is applied internally to the wrapped queries, not necessarily to the DefaultQueryBuilder itself
        }
    
        @Test
        public void test_execute_withBooleanQuery() {
            // Test executing BoostQuery with a BooleanQuery inside
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                public String getCrawlerDocumentMimetypeExtensionOverrides() {
                    return "";
                }
            });
    
            mimeTypeHelper.init();
    
            // With empty config, no override is applied; content-based detection runs
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                final String contentType = mimeTypeHelper.getContentType(is, "test.sql");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top