Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for bad (0.01 sec)

  1. 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_SETTINGD_KEY = "badword";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

     * <li>{@link #indexFromSearchWord(String, String[], String[], String[], int, String[])} - Index from search word.
     * <li>{@link #addBadWord(String, boolean)} - Add a bad word and optionally apply it.
     * <li>{@link #deleteBadWord(String)} - Delete a bad word.
     * <li>{@link #addElevateWord(ElevateWord, boolean)} - Add an elevate word and optionally apply it.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

        public static final int OK_STATUS_CODE = 200;
    
        /**
         * The HTTP status code for Not Modified.
         */
        public static final int NOT_MODIFIED_STATUS_CODE = 304;
    
        /**
         * The HTTP status code for Bad Request.
         */
        public static final int BAD_REQUEST_STATUS_CODE = 400;
    
        /**
         * The HTTP status code for Forbidden.
         */
        public static final int FORBIDDEN_STATUS_CODE = 403;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test with no bad words
            String[] badWords = { "spam", "illegal" };
            assertFalse(item.isBadWord(badWords));
    
            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
            assertTrue(item.isBadWord(badWords2));
    
            // Test with partial match
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            mergedItem.emptySource = item2.emptySource;
    
            return mergedItem;
        }
    
        /**
         * Checks if the suggest item contains any of the given bad words.
         * @param badWords The array of bad words.
         * @return True if the item contains a bad word, false otherwise.
         */
        public boolean isBadWord(final String[] badWords) {
            for (final String badWord : badWords) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

     *
     * <p>This class provides methods to initialize settings, get and set individual settings,
     * and manage various types of settings such as array settings, analyzer settings, bad word settings,
     * and elevate word settings.</p>
     *
     * <p>It also includes a nested TimeoutSettings class to manage various timeout configurations.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <acronym>HTML</acronym>
        <tika:uti>public.html</tika:uti>
         <!-- TIKA-327: if you encounter tags in the HTML
              with no declared namespace, it's not XHTML, it's just
              bad HTML, unfortunately.
         -->
        <root-XML localName="html"/>
        <root-XML localName="HTML"/>
        <root-XML localName="link"/>
        <root-XML localName="LINK"/>
        <root-XML localName="body"/>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (1)
Back to top