Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for keyvalues (0.1 sec)

  1. cmd/iam-etcd-store.go

    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    		user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key)))
    		users.Add(user)
    	}
    	return users
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                    if (bitsField != null && !bitsField.getValues().isEmpty()) {
                                        docMap.put(fessConfig.getQueryCollapseInnerHitsName() + "_hash", bitsField.getValues().get(0));
                                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. internal/s3select/jstream/decoder_test.go

    		t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value)
    	}
    	if err := decoder.Err(); err != nil {
    		t.Fatalf("decoder error: %s", err)
    	}
    	if kvcounter != 0 {
    		t.Fatalf("expected 0 keyvalue items, got %d", kvcounter)
    	}
    	if counter != 15 {
    		t.Fatalf("expected 15 items, got %d", counter)
    	}
    
    	// test at depth level 1 w/ emitKV
    	counter = 0
    	kvcounter = 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

                assertTrue(data.getValues("Subject")[0].contains("気象情報"));
            }
        }
    
        public void test_getReceivedDate() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/eml/sample1.eml")) {
                ExtractData data = emlExtractor.getText(in, null);
                final String[] receivedDate = data.getValues("Received-Date");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            final String content = data.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("タイトル", data.getValues("title")[0]);
        }
    
        public void test_getHtml_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final ExtractData data = htmlExtractor.getText(in, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

                    if ("overwrite".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                return false;
            }
    
            public String[] getValues() {
                return values;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

            metadata.put(key, values);
        }
    
        public void putValue(final String key, final String value) {
            metadata.put(key, new String[] { value });
        }
    
        public String[] getValues(final String key) {
            return metadata.get(key);
        }
    
        public Set<String> getKeySet() {
            return metadata.keySet();
        }
    
        public String getContent() {
            return content;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
            final Map<String, String> params = Maps.of("foo", "true");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                    getLogger().debug("ExtractData: {}", extractData);
                }
                // meta
                extractData.getKeySet().stream().filter(k -> extractData.getValues(k) != null).forEach(key -> {
                    final String[] values = extractData.getValues(key);
                    metaDataMap.put(key, values);
    
                    // meta -> content
                    if (fessConfig.isCrawlerMetadataContentIncluded(key)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli());
            return map;
        }
    
        protected static <T> void concatValues(final List<T> dest, final T... newValues) {
            for (final T value : newValues) {
                if (!dest.contains(value)) {
                    dest.add(value);
                }
            }
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top