- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for DocMap (0.03 sec)
-
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/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) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
} return false; } /** * Gets the image filename for a document based on its document map. * * @param docMap the document data map * @return the generated image filename */ protected String getImageFilename(final Map<String, Object> docMap) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
* * @param path the file path or URL of the document * @param docMap the document metadata map containing field values * @return a tuple containing the generator name, thumbnail ID, and path */ @Override public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
if (source != null) { final Map<String, Object> docMap = new HashMap<>(source); docMap.put(fessConfig.getIndexFieldId(), hit.getId()); docMap.put(fessConfig.getIndexFieldVersion(), hit.getVersion()); docMap.put(fessConfig.getIndexFieldSeqNo(), hit.getSeqNo()); docMap.put(fessConfig.getIndexFieldPrimaryTerm(), hit.getPrimaryTerm());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)