Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Word (0.38 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            String word = "test word";
            float boost = 1.5f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = null;
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            assertEquals(word, elevateWord.getElevateWord());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. 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)
  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());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            String content = "word\\n1\n" + // word + n + 1
                    "word\\\n"; // word + (nothing after backslash)
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
            assertEquals(2, stopwordsFile.stopwordsItemList.size());
            // The content creates two lines: "word\n1" and "word\"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                int position = 0;
                int offset = 0;
                for (String word : words) {
                    if (!word.isEmpty()) {
                        int startOffset = text.indexOf(word, offset);
                        int endOffset = startOffset + word.length();
    
                        // Handle decimal numbers
                        if (word.matches("\\d+") && startOffset > 0 && text.charAt(startOffset - 1) == '.') {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            PhraseQuery.Builder builder = new PhraseQuery.Builder();
            String[] words = { "this", "is", "a", "very", "long", "phrase", "query" };
            for (String word : words) {
                builder.add(new Term(Constants.DEFAULT_FIELD, word));
            }
            PhraseQuery phraseQuery = builder.build();
    
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals(4, list.size());
            assertEquals("test1", list.get(0).getInput());
            assertEquals("日本語", list.get(1).getInput());
            assertEquals("word with spaces", list.get(2).getInput());
            assertEquals("	tab	word	", list.get(3).getInput());
        }
    
        // Helper method to write content to test file
        private void writeTestFile(String content) throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ## Program and Process { #program-and-process }
    
    We will talk a lot about the running "**process**", so it's useful to have clarity about what it means, and what's the difference with the word "**program**".
    
    ### What is a Program { #what-is-a-program }
    
    The word **program** is commonly used to describe many things:
    
    * The **code** that you write, the **Python files**.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        @Test
        public void testConvertWithLongText() throws IOException {
            // Test convert with long text
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("word").append(i).append(" ");
            }
            String text = sb.toString();
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    Because this code is executed before the application **starts** taking requests, and right after it **finishes** handling requests, it covers the whole application **lifespan** (the word "lifespan" will be important in a second 😉).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top