Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for readLines (0.07 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertNotNull(readings);
            assertEquals(3, readings.size());
            assertEquals("TEST_en", readings.get(0));
            assertEquals("TEST_ja", readings.get(1));
            assertEquals("TEST_fr", readings.get(2));
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            converter.init();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
    
            assertNotNull(item);
            assertEquals("text", item.getText());
            assertArrayEquals(readings, item.getReadings());
            assertNotNull(item.getFields());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Test toSuggestItem with empty readings
            String word = "no readings";
            float boost = 1.0f;
            List<String> readings = Collections.emptyList();
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = Arrays.asList("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. README.md

    ```
    
    #### 2. Add Suggestion Documents
    
    ```java
    import org.codelibs.fess.suggest.entity.SuggestItem;
    
    // Create suggestion item with text, readings, and metadata
    String[][] readings = new String[2][];
    readings[0] = new String[]{"kensaku", "engine"};
    readings[1] = new String[]{"search", "injin"};
    
    String[] tags = new String[]{"technology", "search"};
    String[] roles = new String[]{"admin", "user"};
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertNotNull(tokens);
            assertEquals(2, tokens.size());
            assertEquals("test", tokens.get(0).getTerm());
            assertEquals("text", tokens.get(1).getTerm());
            // Check that readings are added
            assertEquals("TEST", ((TestAnalyzeToken) tokens.get(0)).getReading());
            assertEquals("TEXT", ((TestAnalyzeToken) tokens.get(1)).getReading());
        }
    
        @Test
    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/bufio/bufio.go

    // of the line. The returned buffer is only valid until the next call to
    // ReadLine. ReadLine either returns a non-nil line or it returns an error,
    // never both.
    //
    // The text returned from ReadLine does not include the line end ("\r\n" or "\n").
    // No indication or error is given if the input ends without a final line end.
    // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("text", item.getText());
    
            // reading
            final String[][] readings = item.getReadings();
            for (int i = 0; i < readings.length; i++) {
                secondLine.put("reading_" + i, readings[i]);
            }
    
            secondLine.put("fields", item.getFields());
            secondLine.put("queryFreq", item.getQueryFreq());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
                // In CI environments or when Docker is not properly set up, skip the tests instead of failing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. go.sum

    github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moAV0xufSww=
    github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ=
    github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk=
    github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8=
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 79.9K bytes
    - Viewed (0)
Back to top