- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CreateIndex (0.07 sec)
-
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()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
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") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
final String toIndex = docIndex + "." + new SimpleDateFormat(Constants.DOCUMENT_INDEX_SUFFIX_PATTERN).format(new Date()); if (searchEngineClient.createIndex(docIndex, toIndex, numberOfShards, autoExpandReplicas, resetDictionaries)) { searchEngineClient.admin().cluster().prepareHealth(toIndex).setWaitForYellowStatus().execute(ActionListener.wrap(response -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0)