Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for word1 (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

        }
    
        @Test
        public void test_getNum() throws Exception {
            List<String> words = new ArrayList<>();
            words.add("word1");
            words.add("word2");
            words.add("word3");
            words.add("word4");
    
            PopularWordsResponse response = new PopularWordsResponse("test-index", 100, words, 20, new ArrayList<>());
    
            assertEquals(4, response.getNum());
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java

        }
    
        @Test
        public void test_getNum() throws Exception {
            List<String> words = new ArrayList<>();
            words.add("word1");
            words.add("word2");
            words.add("word3");
    
            SuggestResponse response = new SuggestResponse("test-index", 100, words, 20, new ArrayList<>());
    
            assertEquals(3, response.getNum());
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        /**
         * Gets a bad word by its ID.
         * @param id The bad word ID.
         * @return Optional entity containing the bad word if found.
         */
        public OptionalEntity<BadWord> getBadWord(final String id) {
            return badWordBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a bad word.
         * @param badWord The bad word to store.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    final String[] words = SuggestUtil.parseQuery(queryString, field);
                    if (words.length == 0) {
                        continue;
                    }
    
                    final String[][] readings = new String[words.length][];
                    for (int j = 0; j < words.length; j++) {
                        words[j] = normalizer.normalize(words[j], field, "");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin elevate word management.
     * Provides RESTful API endpoints for managing elevate word settings in the Fess search engine.
     * Elevate words boost specific search terms to appear higher in search results.
     */
    public class ApiAdminElevatewordAction extends FessApiAdminAction {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/badword/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing bad words in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing bad word entries,
     * including tracking information for optimistic locking and audit trails.
     * Bad words are terms that should be filtered or blocked in search results.
     *
     */
    public class EditForm extends CreateForm {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/badword/UploadForm.java

    /**
     * Form for uploading bad word files to the Fess search engine.
     * This form is used in the admin interface to upload bad word dictionary files
     * that contain words to be filtered from search results.
     */
    public class UploadForm {
    
        /**
         * The multipart file containing bad words to be uploaded.
         * This file should contain a list of words that will be filtered from search results.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

        /**
         * Shows the main elevate word management page.
         *
         * @return HTML response for the elevate word list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Lists elevate words with pagination support.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

    /**
     * The BadWordSettings class manages the settings related to bad words.
     * It allows adding, deleting, and retrieving bad words from the settings.
     * It also supports loading default bad words from a file.
     */
    public class BadWordSettings {
        private static final Logger logger = LogManager.getLogger(BadWordSettings.class);
    
        /** Key for bad word settings. */
        public static final String BAD_WORD_SETTINGS_KEY = "badword";
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

     *   <li>{@code ELEVATE_WORD_TAGS} - The key for elevate word tags.</li>
     *   <li>{@code ELEVATE_WORD_ROLES} - The key for elevate word roles.</li>
     * </ul>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@code get()} - Retrieves an array of elevate words from the settings.</li>
     *   <li>{@code add(ElevateWord elevateWord)} - Adds a new elevate word to the settings.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top