Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for keyvalues (0.14 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
                if (value.getClass().isArray()) {
                    final Object[] newValues = (Object[]) value;
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newValues.length);
                    for (int i = 0; i < newValues.length; i++) {
                        values[values.length - 1 + i] = newValues[i];
                    }
                    dataMap.put(key, values);
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. internal/s3select/jstream/decoder.go

    		// next token must be ',' or '}'
    		switch c = d.skipSpaces(); c {
    		case '}':
    			goto out
    		case ',':
    			c = d.skipSpaces()
    			goto scan
    		default:
    			err = d.mkError(ErrSyntax, "after object key:value pair")
    			goto out
    		}
    	}
    
    out:
    	d.depth--
    	return obj, err
    }
    
    // object (ordered) accept valid JSON array value
    func (d *Decoder) objectOrdered() (KVS, error) {
    	d.depth++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    	if err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	// Parse conditions.
    	for _, val := range rawPolicy.Conditions {
    		switch condt := val.(type) {
    		case map[string]interface{}: // Handle key:value map types.
    			for k, v := range condt {
    				if !isString(v) { // Pre-check value type.
    					// All values must be of type string.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                                if (lowerName.contains("comment") || lowerName.contains("text")) {
                                    final String[] values = metadata.getValues(name);
                                    if (values != null) {
                                        Collections.addAll(list, values);
                                    }
                                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        if (fields != null) {
                            docMap.putAll(fields.entrySet().stream()
                                    .collect(Collectors.toMap(Entry::getKey, e -> (Object) e.getValue().getValues())));
                        }
    
                        final ViewHelper viewHelper = ComponentUtil.getViewHelper();
                        if (viewHelper != null && !docMap.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                if (fields != null) {
                    final Map<String, Object> docMap = fields.entrySet().stream()
                            .collect(Collectors.toMap(Entry<String, DocumentField>::getKey, e -> (Object) e.getValue().getValues()));
                    docMap.put(fessConfig.getIndexFieldId(), hit.getId());
                    docMap.put(fessConfig.getIndexFieldVersion(), hit.getVersion());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top