Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createIndex (0.05 sec)

  1. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
            return value;
        }
    
        public boolean createIndex(final String index, final String indexName) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return createIndex(index, indexName, fessConfig.getIndexNumberOfShards(), fessConfig.getIndexAutoExpandReplicas(), true);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	DB.AutoMigrate(&IndexStruct{})
    
    	if err := DB.Migrator().DropIndex(&IndexStruct{}, "Name"); err != nil {
    		t.Fatalf("Failed to drop index for user's name, got err %v", err)
    	}
    
    	if err := DB.Migrator().CreateIndex(&IndexStruct{}, "Name"); err != nil {
    		t.Fatalf("Got error when tried to create index: %+v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&IndexStruct{}, "Name") {
    		t.Fatalf("Failed to find index for user's name")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top