Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for indexName (0.23 sec)

  1. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    final String settingsSource = getDefaultIndexSettings();
                    final String indexName = createIndexName(index);
                    if (logger.isInfoEnabled()) {
                        logger.info("Create suggest index: {}", indexName);
                    }
    
                    client.admin().indices().prepareCreate(indexName).setSettings(settingsSource, XContentType.JSON).setMapping(mappingSource)
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/scheduler/util/assumecache/assume_cache.go

    func NewAssumeCache(logger klog.Logger, informer Informer, description, indexName string, indexFunc cache.IndexFunc) *AssumeCache {
    	c := &AssumeCache{
    		logger:      logger,
    		description: description,
    		indexFunc:   indexFunc,
    		indexName:   indexName,
    	}
    	indexers := cache.Indexers{}
    	if indexName != "" && indexFunc != nil {
    		indexers[indexName] = c.objInfoIndexFunc
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    	}
    	if indexUsed != "" {
    		t.Errorf("Used index %q but expected none to be used", indexUsed)
    	}
    
    	// list by label index.
    	matchValues := []storage.MatchValue{
    		{IndexName: "l:label", Value: "value1"},
    		{IndexName: "f:spec.nodeName", Value: "node2"},
    	}
    	list, resourceVersion, indexUsed, err = store.WaitUntilFreshAndList(ctx, 5, matchValues)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	}
    }
    
    func storeElementIndexers(indexers *cache.Indexers) cache.Indexers {
    	if indexers == nil {
    		return cache.Indexers{}
    	}
    	ret := cache.Indexers{}
    	for indexName, indexFunc := range *indexers {
    		ret[indexName] = storeElementIndexFunc(indexFunc)
    	}
    	return ret
    }
    
    // watchCache implements a Store interface.
    // However, it depends on the elements implementing runtime.Object interface.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

        }
    
        @Test
        public void test_indexFromDocumentReader() throws Exception {
            Client client = runner.client();
            int num = 10000;
            String indexName = "test";
    
            BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
            for (int i = 0; i < num; i++) {
                Map<String, Object> source = Collections.singletonMap("content", "test");
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    var Everything = SelectionPredicate{
    	Label: labels.Everything(),
    	Field: fields.Everything(),
    }
    
    // MatchValue defines a pair (`<index name>`, `<value for that index>`).
    type MatchValue struct {
    	IndexName string
    	Value     string
    }
    
    // Pass an UpdateFunc to Interface.GuaranteedUpdate to make an update
    // that is guaranteed to succeed.
    // See the comment for GuaranteedUpdate for more details.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long indexTime = System.currentTimeMillis();
    
                if (logger.isInfoEnabled()) {
                    printProcessingInfo("documents", documents.length, items, parseTime - start, indexTime - parseTime);
                }
                return new SuggestIndexResponse(items.length, documents.length, response.getErrors(), indexTime - start);
            } catch (final Exception e) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/net/http/fs.go

    func serveFile(w ResponseWriter, r *Request, fs FileSystem, name string, redirect bool) {
    	const indexPage = "/index.html"
    
    	// redirect .../index.html to .../
    	// can't use Redirect() because that would make the path absolute,
    	// which would be a problem running under StripPrefix
    	if strings.HasSuffix(r.URL.Path, indexPage) {
    		localRedirect(w, r, "./")
    		return
    	}
    
    	f, err := fs.Open(name)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. migrator/migrator.go

    			if idx := stmt.Schema.LookIndex(name); idx != nil {
    				name = idx.Name
    			}
    		}
    
    		return m.DB.Raw(
    			"SELECT count(*) FROM information_schema.statistics WHERE table_schema = ? AND table_name = ? AND index_name = ?",
    			currentDatabase, stmt.Table, name,
    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // RenameIndex rename index from oldName to newName
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top