Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for word2 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        @Test
        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));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            conditions.put("q", new String[] { "search term" });
            conditions.put("epq", new String[] { "exact phrase" });
            conditions.put("oq", new String[] { "word1 word2" });
            conditions.put("nq", new String[] { "exclude" });
            conditions.put("filetype", new String[] { "pdf" });
            conditions.put("sitesearch", new String[] { "example.com" });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. 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());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  4. 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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  5. 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.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                        logger.warn("Failed to read a suggest elevate word: {}", list, e);
                    }
                }
                elevateWordBhv.refresh();
            } catch (final IOException e) {
                logger.warn("Failed to read a suggest elevate word.", e);
            }
        }
    
        /**
         * Exports elevate words to a CSV file.
         * CSV format: SuggestWord, Reading, Permissions, Labels, Boost
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        @Test
        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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Get the protected word item.
         * @param form The create form.
         * @param hook The error hook.
         * @return The protected word item.
         */
        protected OptionalEntity<ProtwordsItem> createProtwordsItem(final CreateForm form, final VaErrorHook hook) {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. 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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top