- Sort Score
- Num 10 results
- Language All
Results 11 - 16 of 16 for DocMap (0.15 seconds)
-
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();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (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 initializedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (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
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (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());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} @Test public void test_calculateDocumentSize_withNullValue() { final Map<String, Object> docMap = new HashMap<>(); docMap.put("id", "test"); docMap.put("nullField", null); long size = indexingHelper.calculateDocumentSize(docMap); assertTrue(size > 0); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* Extracts and formats the site path from document URL. * * @param docMap the document data map * @return the formatted site path */ public Object getSitePath(final Map<String, Object> docMap) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Object siteValue = docMap.get(fessConfig.getIndexFieldSite()); if (siteValue != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0)