MCPcopy
hub / github.com/redis/go-redis / Run

Method Run

search_builders.go:498–501  ·  view source on GitHub ↗

Run executes FT.CREATE and returns the status.

()

Source from the content-addressed store, hash-verified

496
497// Run executes FT.CREATE and returns the status.
498func (b *CreateIndexBuilder) Run() (string, error) {
499 cmd := b.c.FTCreate(b.ctx, b.index, b.options, b.schema...)
500 return cmd.Result()
501}
502
503// ----------------------
504// DropIndexBuilder for FT.DROPINDEX

Callers

nothing calls this directly

Calls 2

FTCreateMethod · 0.65
ResultMethod · 0.65

Tested by

no test coverage detected