Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for word2 (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        public void test_reload_withEscapedCharacters() {
            String content = "word\\\\1\n" + // word\1
                    "word\\\\\\\\2\n" + // word\\2
                    "word3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item = new StopwordsItem(123, "word");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString());
    
            item.setNewInput("updated");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=updated]", item.toString());
    
            item.setNewInput("");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=]", item.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Create content with empty lines and comments
            String content = "# Comment line\n" + "\n" + // empty line
                    "word1\n" + "  \n" + // whitespace line (may be treated as content)
                    "# Another comment\n" + "word2\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload and verify
            protwordsFile.reload(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

         *
         * @param word        The elevate word.
         * @param reading     The reading of the word.
         * @param tags        The tags associated with the word.
         * @param permissions The permissions for the word.
         * @param boost       The boost value for the word.
         * @param apply       true to apply the changes immediately.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

        /** Helper for managing search suggestions and bad words */
        @Resource
        protected SuggestHelper suggestHelper;
    
        /**
         * Retrieves bad word settings with pagination support.
         *
         * @param body the search body containing pagination and filter parameters
         * @return JSON response containing list of bad word configurations
         */
        // GET /api/admin/badword/settings
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                        logger.warn("Failed to read a sugget elevate word: {}", list, e);
                    }
                }
                elevateWordBhv.refresh();
            } catch (final IOException e) {
                logger.warn("Failed to read a sugget elevate word.", e);
            }
        }
    
        /**
         * Exports elevate words to a CSV file.
         * CSV format: SuggestWord, Reading, Permissions, Labels, Boost
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                        logger.warn("Failed to generate popular words.", e);
                    }
    
                    return wordList;
                });
            } catch (final ExecutionException e) {
                logger.warn("Failed to load popular words.", e);
            }
            return Collections.emptyList();
        }
    
        /**
         * Clears all cached popular word lists.
         */
        public void clearCache() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_equals() {
            // Test equals method
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
            ProtwordsItem item4 = new ProtwordsItem(1, "word");
    
            // Same object
            assertTrue(item1.equals(item1));
    
            // Same input, different id
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top