- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for DocMap (0.03 seconds)
-
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();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.7K bytes - Click Count (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);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (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)); } @Test public void test_isTarget_withUnsupportedMimeType() { // Test with unsupported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/unknown");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K 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/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/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)