Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 142 for showing (0.36 seconds)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(middleCause, exception.getCause());
            assertEquals(innerCause, exception.getCause().getCause());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            int expectedStatusCode = 403;
            String expectedMessage = "Access denied";
    
            try {
                throw new WebApiException(expectedStatusCode, expectedMessage);
    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)
  2. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertEquals("Exception 2", exception2.getMessage());
            assertNotNull(exception3.getCause());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Test throw and catch";
    
            try {
                throw new SearchQueryException(expectedMessage);
            } catch (SearchQueryException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

         * and form inputs for the given parameters.
         *
         * @param paramMap the parameter map to process
         * @param queryKey the key for storing query string parameters
         * @param formKey the key for storing form input parameters
         */
        protected void buildInitParamMap(final Map<String, String> paramMap, final String queryKey, final String formKey) {
            if (!paramMap.isEmpty()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 18 04:42:56 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        protected List<String> contentFieldList;
    
        /** The popular word helper for handling popular words. */
        protected PopularWordHelper popularWordHelper = null;
    
        /** The interval for storing search logs. */
        protected long searchStoreInterval = 1; // min
    
        /**
         * Initializes the SuggestHelper.
         * This method sets up the suggester, configures field names, and initializes
    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)
  5. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

        /** Default file type value returned when MIME type is not found in mappings */
        protected String defaultValue = "others";
    
        /** Map storing MIME type to file type mappings */
        protected Map<String, String> mimetypeMap = new LinkedHashMap<>();
    
        /**
         * Default constructor for file type helper.
         * Creates a new instance with default values.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related content entity.
         * After storing, updates the related content helper to refresh the cache.
         *
         * @param relatedContent the RelatedContent entity to store
         */
        public void store(final RelatedContent relatedContent) {
    
    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)
  7. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

     */
    public class RelatedQueryHelper extends AbstractConfigHelper {
        private static final Logger logger = LogManager.getLogger(RelatedQueryHelper.class);
    
        /**
         * Map storing related queries organized by virtual host key and search term.
         * The outer map key is the virtual host key, the inner map key is the search term
         * (in lowercase), and the value is an array of related query strings.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service for managing stopwords.
     * This class provides methods to interact with stopwords dictionaries,
     * including retrieving, storing, and deleting stopwords.
     */
    public class StopwordsService {
        /** The dictionary manager for accessing dictionary files. */
        @Resource
        protected DictionaryManager dictionaryManager;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/SynonymService.java

    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service for managing synonyms.
     * This class provides methods to interact with synonym dictionaries,
     * including retrieving, storing, and deleting synonyms.
     */
    public class SynonymService {
        /** The dictionary manager for accessing dictionary files. */
        @Resource
        protected DictionaryManager dictionaryManager;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            logger.info("Creating new suggest index.");
            suggestHelper.suggester().createNextIndex();
    
            logger.info("Storing all bad words.");
            suggestHelper.storeAllBadWords(true);
    
            logger.info("Storing all elevate words.");
            suggestHelper.storeAllElevateWords(true);
    
            final AtomicInteger exitCode = new AtomicInteger(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top