Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DocMap (0.09 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

        String getName();
    
        boolean generate(String thumbnailId, File outputFile);
    
        boolean isTarget(Map<String, Object> docMap);
    
        boolean isAvailable();
    
        void destroy();
    
        Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. 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)
Back to top