- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for DocMap (0.07 sec)
-
src/main/java/org/codelibs/fess/util/DocMap.java
import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; public class DocMap implements Map<String, Object> { private static final String LANG_KEY = "lang"; private final Map<String, Object> parent; public DocMap(final Map<String, Object> parent) { this.parent = parent; } @Override public int size() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.8K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
DocMap docMap = new DocMap(value); assertTrue(docMap.isEmpty()); value.clear(); List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1"); value.put(keys.get(0), true); value.put(keys.get(1), 1000); value.put(keys.get(2), "ja"); value.put(keys.get(3), "str"); docMap = new DocMap(value); assertFalse(docMap.isEmpty());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
logger.debug("Thumbnail generator is not found: {}", docMap != null ? docMap.get("url") : docMap); } return false; } protected String getImageFilename(final Map<String, Object> docMap) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String docid = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldDocId(), String.class);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
public void destroy() { } @Override public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String thumbnailId = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldId(), String.class); final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0)