//go:build vectors

package memorysearch

// This file is a deliberate compile-time guard. It is only included when the
// build carries the `vectors` tag, and in that case it must fail to compile.
//
// The local Memory search contract must never be built with the Bleve
// `vectors` API enabled. The vectors code path pulls in go-faiss CGO
// dependencies that are out of scope for local Memory search, would inflate
// the release binary, and are not exercised by any test in this package.
//
// If `go build -tags vectors ./internal/memorysearch` (or any broader build
// that includes this package) fails with "undefined:" on the identifier
// below, the fix is to drop the `-tags vectors` flag, not to define the
// identifier.

var _ memorysearchPackageMustNotBeBuiltWithTheBleveVectorsBuildTag
