Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for keyvalues (0.15 sec)

  1. association.go

    			}
    
    			_, rvs := schema.GetIdentityFieldValuesMapFromValues(association.DB.Statement.Context, values, relPrimaryFields)
    			if relColumn, relValues := schema.ToQueryValues(rel.JoinTable.Table, joinRelPrimaryKeys, rvs); len(relValues) > 0 {
    				tx.Where(clause.Not(clause.IN{Column: relColumn, Values: relValues}))
    			}
    
    			association.Error = tx.Delete(modelValue).Error
    		}
    	}
    	return association.Error
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top