Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for deleteElevateWord (0.12 sec)

  1. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            });
    
            for (final ElevateWord elevateWord : list) {
                suggester.indexer().deleteElevateWord(elevateWord.getSuggestWord(), apply);
            }
            refresh();
        }
    
        public void deleteElevateWord(final String word, final boolean apply) {
            suggester.indexer().deleteElevateWord(word, 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)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
                        suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
                        saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                    } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            final String id = form.id;
            elevateWordService.getElevateWord(id).ifPresent(entity -> {
                try {
                    elevateWordService.delete(entity);
                    suggestHelper.deleteElevateWord(entity.getSuggestWord(), false);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(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
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            if (apply) {
                return index(normalized.toSuggestItem());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
        }
    
        public SuggestDeleteResponse deleteElevateWord(final String elevateWord, final boolean apply) {
            final String normalized = normalizer.normalize(elevateWord, "");
            settings.elevateWord().delete(normalized);
            if (apply) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            ElevateWord[] elevateWords = suggester.settings().elevateWord().get();
            assertEquals(1, elevateWords.length);
            assertEquals("test", elevateWords[0].getElevateWord());
    
            suggester.indexer().deleteElevateWord(elevateWord.getElevateWord(), true);
            suggester.refresh();
            elevateWords = suggester.settings().elevateWord().get();
            assertEquals(0, elevateWords.length);
        }
    
        @Test
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top