- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 318 for readings (0.09 sec)
-
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) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
* * @param elevateWord the elevate word * @param boost the boost value * @param readings the list of readings * @param fields the list of fields * @param tags the list of tags * @param roles the list of roles */ public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields, final List<String> tags, final List<String> roles) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4K bytes - Viewed (0) -
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) -
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) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
public void setUserBoost(final float userBoost) { this.userBoost = userBoost; } /** * Sets the readings of the suggest item. * @param readings The readings to set. */ public void setReadings(final String[][] readings) { this.readings = readings; } /** * Sets the fields of the suggest item. * @param fields The fields to set. */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final boolean apply) { final String[] readings; if (StringUtil.isBlank(reading)) { readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); } else { readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); } final List<String> labelList = new ArrayList<>(); if (tags != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null, SuggestItem.Kind.DOCUMENT); String[][] readings2 = new String[2][]; readings2[0] = new String[] { "zenbun", "fuga" }; readings2[1] = new String[] { "kensaku", "fuga" }; String[] tags2 = new String[] { "tag3" };
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES); if (elevateWord != null && boost != null && readings != null && fields != null) { elevateWords[i] = new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles); } } return elevateWords; } /** * Add an elevate word.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.5K bytes - Viewed (0) -
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)