Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for readings2 (0.09 sec)

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

            String[][] readings = { { "reading1" }, { "reading2" } };
            String[] fields = { "field1", "field2" };
            String[] tags = { "tag1", "tag2" };
            String[] roles = { "role1", "role2" };
            String[] languages = { "en", "ja" };
            SuggestItem.Kind kind = SuggestItem.Kind.QUERY;
    
            SuggestItem item = new SuggestItem(text, readings, fields, 100L, 50L, 1.5f, tags, roles, languages, kind);
    
    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/converter/ReadingConverterTest.java

            String field = "content";
    
            List<String> readings1 = converter1.convert(text, field, "en");
            List<String> readings2 = converter2.convert(text, field, "ja");
    
            assertNotNull(readings1);
            assertNotNull(readings2);
            assertEquals("TEST", readings1.get(0));
            assertEquals("TEST", readings2.get(0));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testMultipleReadingsConversion() {
            // Test conversion of multiple readings to SuggestItem format
            String word = "multi reading";
            float boost = 1.0f;
            List<String> readings = Arrays.asList("reading1", "reading2", "reading3", "reading4", "reading5");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateBulkLine() {
            // Test creating bulk line for indexing
            SuggestItem item = new SuggestItem(new String[] { "test text" }, new String[][] { { "reading1" }, { "reading2" } },
                    new String[] { "field1", "field2" }, 10, // queryFreq
                    5, // docFreq
                    2.0f, // userBoost
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                super(term, position, startOffset, endOffset, positionIncrement, type, attributes);
            }
    
            public String getReading() {
                return reading;
            }
    
            public void setReading(String reading) {
                this.reading = reading;
            }
        }
    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/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            final Map<String, Object> secondLine = new HashMap<>();
    
            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)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 * these fields are common to all andx commands
                 * so let's populate them here
                 */
    
                this.andxCommand = buffer[bufferIndex];
                this.andxOffset = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
                if (this.andxOffset == 0) { /* Snap server workaround */
                    this.andxCommand = (byte) 0xFF;
                }
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            // NameOffset field (2 bytes) - should be 16 (after header)
            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            }
    
            int start = bufferIndex;
    
            transformCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved1 = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved2 = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top