Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for storeAllBadWords (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            body.crudMode = CrudMode.EDIT;
            final BadWord badWord = getBadWord(body).map(entity -> {
                try {
                    badWordService.store(entity);
                    suggestHelper.storeAllBadWords(false);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            verifyToken(this::asEditHtml);
            getBadWord(form).ifPresent(entity -> {
                try {
                    badWordService.store(entity);
                    suggestHelper.storeAllBadWords(false);
                    saveInfo(messages -> messages.addSuccessCrudUpdateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            refresh();
        }
    
        protected void deleteAllBadWords() {
            suggester.settings().badword().deleteAll();
        }
    
        public void storeAllBadWords(final boolean apply) {
            deleteAllBadWords();
            final List<BadWord> list = ComponentUtil.getComponent(BadWordBhv.class).selectList(cb -> {
                cb.query().matchAll();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top