Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for BadWord (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            }
            arraySettings.delete(BAD_WORD_SETTINGD_KEY);
        }
    
        protected String getValidationError(final String badWord) {
            if (Strings.isNullOrEmpty(badWord)) {
                return "badWord was empty.";
            }
            if (badWord.contains(" ") || badWord.contains("  ")) {
                return "badWord contains space.";
            }
            return null;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            });
            for (final BadWord badWord : list) {
                final String word = badWord.getSuggestWord();
                suggester.indexer().addBadWord(word, apply);
            }
            refresh();
        }
    
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
            refresh();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                throw new SuggestIndexException(msg, e);
            }
        }
    
        public SuggestDeleteResponse addBadWord(final String badWord, final boolean apply) {
            final String normalized = normalizer.normalize(badWord, "");
            settings.badword().add(normalized);
            badWords = settings.badword().get(true);
            if (apply) {
                return deleteByQuery(QueryBuilders.wildcardQuery(FieldNames.TEXT, "*" + normalized + "*"));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            this.settingsIndexName = settingsIndexName;
            this.initialSettings = initialSettings;
            this.timeoutSettings = timeoutSettings;
    
            badWordIndexName = settingsIndexName + "-badword";
            elevateWordIndexName = settingsIndexName + "-elevateword";
        }
    
        public void init() {
            if (initialized) {
                return;
            }
            initialized = true;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            mergedItem.emptySource = item2.emptySource;
    
            return mergedItem;
        }
    
        public boolean isBadWord(final String[] badWords) {
            for (final String badWord : badWords) {
                if (text.contains(badWord)) {
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    online.help.name.joblog=joblog
    online.help.name.keymatch=keymatch
    online.help.name.relatedquery=relatedquery
    online.help.name.relatedcontent=relatedcontent
    online.help.name.wizard=wizard
    online.help.name.badword=badword
    online.help.name.pathmap=pathmap
    online.help.name.boostdoc=boostdoc
    online.help.name.dataconfig=dataconfig
    online.help.name.systeminfo=systeminfo
    online.help.name.user=user
    online.help.name.group=group
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. wizard */
        String ONLINE_HELP_NAME_WIZARD = "online.help.name.wizard";
    
        /** The key of the configuration. e.g. badword */
        String ONLINE_HELP_NAME_BADWORD = "online.help.name.badword";
    
        /** The key of the configuration. e.g. pathmap */
        String ONLINE_HELP_NAME_PATHMAP = "online.help.name.pathmap";
    
        /** The key of the configuration. e.g. boostdoc */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top