Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FieldConfigs (0.1 sec)

  1. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.Constants;
    import org.dbflute.optional.OptionalThing;
    
    public class FieldConfigs {
    
        private final Map<String, String> params;
    
        public FieldConfigs(final Map<String, String> params) {
            this.params = params;
        }
    
        public OptionalThing<Config> getConfig(final String fieldName) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertTrue(fieldConfigs.getConfig("test").isEmpty());
            assertTrue(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false));
            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
        }
    
        public void test_cache() {
            final Map<String, String> params = Maps.of("foo", "cache");
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        }
    
        default Map<String, Object> processFieldConfigs(final Map<String, Object> dataMap, final FieldConfigs fieldConfigs) {
            final Map<String, Object> newDataMap = new LinkedHashMap<>();
            for (final Map.Entry<String, Object> e : dataMap.entrySet()) {
                if (fieldConfigs.getConfig(e.getKey()).map(FieldConfigs.Config::isOverwrite).orElse(false)
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top