- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for dist (0.01 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
* Concatenates values to a destination list, avoiding duplicates. * @param dest The destination list. * @param newValues The new values to add. * @param <T> The type of the values. */ protected static <T> void concatValues(final List<T> dest, final T... newValues) { for (final T value : newValues) { if (!dest.contains(value)) { dest.add(value); } }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/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
@SuppressWarnings("unchecked") List<String> tags = (List<String>) updated.get(FieldNames.TAGS); assertTrue(tags.contains("existing")); } @Test public void testConcatValues() { // Test static concatValues method List<String> dest = new java.util.ArrayList<>(); dest.add("existing"); SuggestItem.concatValues(dest, "new1", "new2", "existing");Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
* @param dest The destination File. */ private void copy(final SmbFile src, final File dest) { if (dest.exists() && !dest.canWrite()) { return; } try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src)); BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
// Test that getters return the same list references String word = "mutable test"; float boost = 1.0f; List<String> readings = new ArrayList<>(); readings.add("reading1"); List<String> fields = new ArrayList<>(); fields.add("field1"); List<String> tags = new ArrayList<>(); tags.add("tag1"); List<String> roles = new ArrayList<>();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/util/SuggestUtil.java
/** * Converts the given object to a list of strings. * <p> * If the object is null, an empty list is returned. * If the object is a string, a list containing that string is returned. * If the object is a list, it is cast to a list of strings and returned. * </p> * * @param value the object to be converted to a list of strings * @return a list of strings representing the given objectRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
* @param dest The destination File. */ private void copy(final SmbFile src, final File dest) { if (dest.exists() && !dest.canWrite()) { return; } try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src)); BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (3) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* * @param <T> The type of objects to insert. * @param list The list of objects to insert. * @param opType The operation type (CREATE, INDEX, etc.). * @throws OpenSearchAccessException if the bulk insertion fails. */ protected <T> void insertAll(final List<T> list, final OpType opType) { insertAll(list, opType, false); } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
assertEquals("タイトル", map.get("title")); assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body")); final List<String> list = new ArrayList<String>(); list.add("リスト1"); list.add("リスト2"); list.add("リスト3"); assertEquals(list, map.get("list")); } public void test_getData_dataMap_entity() throws Exception { final String value = "<?xml version=\"1.0\"?>\n"//
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
List<AnalyzeToken> tokensContent = analyzer.analyze(text, "content", lang); assertNotNull(tokensContent); assertEquals(2, tokensContent.size()); List<AnalyzeToken> tokensTitle = analyzer.analyze(text, "title", lang); assertNotNull(tokensTitle); assertEquals(2, tokensTitle.size()); // Test with null field List<AnalyzeToken> tokensNull = analyzer.analyze(text, null, lang);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
converter1.init(); converter2.init(); String text = "test"; 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));Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0)