package engines import ( "context" "github.com/metamorphosis-dev/kafka/internal/contracts" ) // Engine is a Go-native implementation of a search engine. // // Implementations should return a SearchResponse containing only the results // for that engine subset; the caller will merge multiple engine responses. type Engine interface { Name() string Search(ctx context.Context, req contracts.SearchRequest) (contracts.SearchResponse, error) }