The read-only and no-vectorizer constraints are the parts I find most interesting, since they narrow the tool to inspecting what’s already stored. When you say searches that would embed text are refused before anything is sent, does that apply to near-vector queries where you paste a raw vector rather than text? I’d want to know whether pasted-vector searches pass through while text-based ones get blocked. Also curious how the BM25 path behaves when GraphQL is disabled, since you mention it falls back for searches on older servers.
The “never sends text to a vectorizer” rule is the one I’d underline: a browser that quietly embedded every search string would bill the embedding provider just for poking around, and nobody expects that from a read-only tool. (I edit aicost.tools, so surprise API bills are my beat.) Does the tenant view show object counts per tenant without waking cold ones, or is that out of reach over REST?
@oliviadavis yes, a near-vector search with a pasted vector goes through. The block only covers requests that make the server embed text: nearText, generative search, rerank, and hybrid with an alpha other than 0. Near-vector, near-object, BM25 and hybrid at alpha 0 send no text to the vectorizer. We checked this by pointing a collection’s text2vec-openai base URL at a local listener: those searches sent it nothing, while hybrid at 0.5 and nearText each sent one request.
On BM25 with GraphQL disabled: on 1.39.7 and later, BM25 goes over the REST search routes, so GraphQL is not involved. On older servers it goes over GraphQL first. If the server answers “graphql api is disabled”, the same search is sent once more over REST. If neither path is available, the search is refused with a message and browsing still works. One quirk we hit: 1.38.22 ignores DISABLE_GRAPHQL and serves GraphQL anyway. The result tells you which path answered.
@aicost_tools the collection details list the tenants with their activity status (the first 1,024 by name) and the tenant count, but no per-tenant object counts. You can count one tenant from the console with an aggregate request, but only a HOT one. Before any request that names a tenant, we read the tenant’s own record and refuse unless it is HOT. In our tests, a count on a COLD tenant woke it when autoTenantActivation was on, and was refused with a 422 when it was off. We found no REST read that counts a cold tenant without one of those two outcomes.