Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for CreateIndex (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // Track alias count calls to distinguish pre vs post rebuild
            private int getAliasCountCallIndex = 0;
    
            @Override
            public boolean createIndex(final String index, final String indexName) {
                calledMethods.add("createIndex");
                createdIndices.add(indexName);
                createIndexCallCount++;
                if (createIndexFailOnNth > 0 && (createIndexCallCount % createIndexFailOnNth) == 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  2. internal/event/target/elasticsearch.go

    	}
    	return ESSUnknown, "", fmt.Errorf("Unable to get ES Server Version - got INFO response: %v", m)
    }
    
    func (c *esClientV7) isAtleastV7() bool {
    	return true
    }
    
    // createIndex - creates the index if it does not exist.
    func (c *esClientV7) createIndex(args ElasticsearchArgs) error {
    	res, err := c.Indices.ResolveIndex([]string{args.Index})
    	if err != nil {
    		return err
    	}
    	defer res.Body.Close()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. migrator/migrator.go

    // BuildIndexOptionsInterface build index options interface
    type BuildIndexOptionsInterface interface {
    	BuildIndexOptions([]schema.IndexOption, *gorm.Statement) []interface{}
    }
    
    // CreateIndex create index `name`
    func (m Migrator) CreateIndex(value interface{}, name string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		if stmt.Schema == nil {
    			return errors.New("failed to get schema")
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         * @return true if the index was created successfully, false otherwise
         */
        public boolean createIndex(final String index, final String indexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return createIndex(index, indexName, fessConfig.getIndexNumberOfShards(), fessConfig.getIndexAutoExpandReplicas(), true);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

        }
    
        private void ensureIndexExists(final SearchEngineClient client, final String indexName) {
            if (!indexChecked) {
                if (!client.existsIndex(indexName)) {
                    client.createIndex(NOTIFICATION_QUEUE_INDEX, indexName);
                }
                indexChecked = true;
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top