- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for DocMap (0.03 sec)
-
src/main/java/org/codelibs/fess/util/DocMap.java
* */ public class DocMap implements Map<String, Object> { /** The key used for language field identification */ private static final String LANG_KEY = "lang"; /** The underlying map that this DocMap wraps */ private final Map<String, Object> parent; /** * Constructor that creates a DocMap wrapping the given parent map. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
} } @Override public boolean isTarget(final Map<String, Object> docMap) { final String thumbnailFieldName = ComponentUtil.getFessConfig().getIndexFieldThumbnail(); if (logger.isDebugEnabled()) { logger.debug("[{}] thumbnail: {}", name, docMap.get(thumbnailFieldName)); } if (!docMap.containsKey(thumbnailFieldName)) { return false; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
DocMap docMap = new DocMap(parentMap); assertTrue(docMap.isEmpty()); assertEquals(0, docMap.size()); docMap.put("key1", "value1"); assertFalse(docMap.isEmpty()); assertEquals(1, docMap.size()); docMap.put("key2", "value2"); assertFalse(docMap.isEmpty()); assertEquals(2, docMap.size()); docMap.clear();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertEquals(sitePath, viewHelper.getSitePath(docMap)); urlLink = "www.google.com"; sitePath = "www.google.com"; docMap.put(fieldName, urlLink); assertEquals(sitePath, viewHelper.getSitePath(docMap)); urlLink = "smb://123.45.678.91/share1"; sitePath = "123.45.678.91/share1"; docMap.put(fieldName, urlLink);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/pdf"); assertTrue(thumbnailGenerator.isTarget(docMap)); } public void test_isTarget_withUnsupportedMimeType() { // Test with unsupported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/unknown");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap)); docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap)); docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap)); } if (!docMap.containsKey(Constants.SCORE)) { final float score = searchHit.getScore();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
if (viewHelper != null && !docMap.isEmpty()) { docMap.put(fessConfig.getResponseFieldContentTitle(), viewHelper.getContentTitle(docMap)); docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap)); docMap.put(fessConfig.getResponseFieldUrlLink(), viewHelper.getUrlLink(docMap));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
generator = new TestThumbnailGenerator(); Map<String, Object> docMap = new HashMap<>(); docMap.put("id", "doc123"); // Since createTask depends on FessConfig, it may not work properly // in unit tests without full container try { generator.createTask("/path/to/thumb.jpg", docMap); } catch (Exception e) { // Expected when FessConfig is not available
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
// when proper conditions are not met. Map<String, Object> docMap = new HashMap<>(); // This will return false because getFessConfig() will fail // We verify the method handles the case gracefully try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0)