Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLines (0.05 sec)

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

            assertNotNull(item.getLanguages());
            assertEquals(0, item.getLanguages().length);
            assertNotNull(item.getKinds());
            assertEquals(1, item.getKinds().length);
            assertEquals(SuggestItem.Kind.DOCUMENT, item.getKinds()[0]);
        }
    
        @Test
        public void testGettersAndSetters() {
            // Test all getter and setter methods
            String[] text = { "initial" };
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            // Check kind
            assertNotNull(suggestItem.getKinds());
            // The kinds array structure might be different
            boolean hasUserKind = false;
            for (SuggestItem.Kind kind : suggestItem.getKinds()) {
                if (kind == SuggestItem.Kind.USER) {
                    hasUserKind = true;
                    break;
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top