Enabled reports whether a real provider backs the index.
()
| 42 | |
| 43 | // Enabled reports whether a real provider backs the index. |
| 44 | func (v *VectorIndex) Enabled() bool { |
| 45 | return v != nil && v.idx.Enabled() |
| 46 | } |
| 47 | |
| 48 | // ProviderName surfaces the configured provider name (or "null") for /config. |
| 49 | func (v *VectorIndex) ProviderName() string { |