Run executes FT.CREATE and returns the status.
()
| 496 | |
| 497 | // Run executes FT.CREATE and returns the status. |
| 498 | func (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 |