Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for indexField (0.15 sec)

  1. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                if (indexOf < 0)
                    return new Pair<>(field, null);
                final String indexField = indexOf == 0 ? defaultField : field.substring(0, indexOf);
                final String extensionKey = field.substring(indexOf + 1);
                return new Pair<>(indexField, extensionKey);
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    	if !ok || requestInfo == nil || requestInfo.Verb != "watch" {
    		return nil
    	}
    
    	var index *indexValue
    	if indexField, ok := w.indexes[requestInfo.Resource]; ok {
    		index = &indexValue{
    			resource: requestInfo.Resource,
    			value:    getIndexValue(r, indexField),
    		}
    	}
    
    	identifier := &watchIdentifier{
    		apiGroup:  requestInfo.APIGroup,
    		resource:  requestInfo.Resource,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    func createPodPredicate(field fields.Selector, namespaceScoped bool, indexField []string) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:       labels.Everything(),
    		Field:       field,
    		GetAttrs:    determinePodGetAttrFunc(namespaceScoped, indexField),
    		IndexFields: indexField,
    	}
    }
    
    func determinePodGetAttrFunc(namespaceScoped bool, indexField []string) storage.AttrFunc {
    	if indexField != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate_test.go

    		labelSelector, fieldSelector string
    		indexLabels                  []string
    		indexFields                  []string
    		expected                     []MatchValue
    		ctx                          context.Context
    	}{
    		"Match nil": {
    			labelSelector: "name=foo",
    			fieldSelector: "uid=12345",
    			indexLabels:   []string{"bar"},
    			indexFields:   []string{},
    			ctx:           context.Background(),
    			expected:      nil,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 10:39:09 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	return s.Label.Empty() && s.Field.Empty()
    }
    
    // For any index defined by IndexFields, if a matcher can match only (a subset)
    // of objects that return <value> for a given index, a pair (<index name>, <value>)
    // wil be returned.
    func (s *SelectionPredicate) MatcherIndex(ctx context.Context) []MatchValue {
    	var result []MatchValue
    	for _, field := range s.IndexFields {
    		if value, ok := s.Field.RequiresExactMatch(field); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy.go

    	var indexFields = []string{"spec.nodeName"}
    	if utilfeature.DefaultFeatureGate.Enabled(features.StorageNamespaceIndex) {
    		indexFields = append(indexFields, "metadata.namespace")
    	}
    	return storage.SelectionPredicate{
    		Label:       label,
    		Field:       field,
    		GetAttrs:    GetAttrs,
    		IndexFields: indexFields,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. pkg/registry/resource/resourceslice/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:       label,
    		Field:       field,
    		GetAttrs:    GetAttrs,
    		IndexFields: []string{"nodeName"},
    	}
    }
    
    // toSelectableFields returns a field set that represents the object
    // TODO: fields are not labels, and the validation rules for them do not apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		scope.name = selectorName
    	}
    
    	triggerValue, triggerSupported := "", false
    	if c.indexedTrigger != nil {
    		for _, field := range pred.IndexFields {
    			if field == c.indexedTrigger.indexName {
    				if value, ok := pred.Field.RequiresExactMatch(field); ok {
    					triggerValue, triggerSupported = value, true
    					break
    				}
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top