In short.
This guide explains Vespa search applications for developers using Mistral's Search Toolkit, but installation and a complete working example are outside its coverage. It describes how Python migrations generate and deploy configuration, how schemas organize documents, and how fields produce search and ranking features. Developers can compare indexed and streaming search and understand query-time ranking weights. The recommended layout stores each chunk separately; the legacy single-document layout is deprecated. All ranking weights default to zero. Costs, licensing, release compatibility and actual runtime behavior are not established by this page, and nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://docs.mistral.ai/studio/search/search-toolkit/search-index/vespa/anatomy.md], including its tables, configuration examples and legacy-indexing deprecation notice. Linked schema, ranking, CLI, document-model, migration-helper and Vespa reference pages are excluded. No software was installed, commands executed, cluster deployed or search behavior tested. Runtime behavior, performance, costs, licensing and release compatibility remain unknown or unassessed.
The overview
Identity
Anatomy of a Vespa application is a conceptual documentation page in Mistral's Search Toolkit documentation. It explains the configuration generated for a Vespa search application, including its application package, schemas, fields, ranking profiles and query profiles.
The source is [https://docs.mistral.ai/studio/search/search-toolkit/search-index/vespa/anatomy.md]. The resource assessed here is this documentation page.
Assessment
The guide is useful for understanding how Python configuration becomes a deployed Vespa application. Its strongest practical details are the recommended document-per-chunk layout, the distinction between indexed and streaming search, and the need to activate ranking functions with non-zero weights.
It provides an architectural map rather than enough instructions to establish a working deployment. It does not demonstrate retrieval quality, deployment reliability or performance. Nothing was executed, so the documented behavior remains unverified in practice.
Users
The likely audience is developers configuring search through the toolkit's Vespa integration, particularly those responsible for document structure, schema changes or relevance tuning. Beginners can use it to understand what the configuration components do; experienced developers get concrete names for modes, field classes, generated profiles and CLI commands.
Readers looking for installation instructions, a complete Python migration or an end-to-end search example will need additional documentation. Those linked pages are outside this report's scope.
Capabilities
The guide covers multiple document schemas and two search modes. INDEX supports BM25 keyword scoring, approximate vector search through ANN/HNSW and two-phase ranking. STREAMING supports exact nearest-neighbor search, attribute filtering and single-phase ranking.
It describes embedding, text, string, timestamp, count, integer, boolean and language fields, including array fields through multi_dimensional=True. Embedding fields support semantic similarity; text fields support keyword scoring; timestamp and count fields can contribute ranking functions.
The integration generates a default fieldset containing all TextField fields for userQuery() queries. Each schema also receives ranking profiles and a query profile that uses hybrid search when embeddings are present, or keyword search otherwise.
Using it
Requirements
The documented workflow assumes Python migration files, the mistral-vespa CLI and a Vespa cluster to receive the generated configuration. An application can contain multiple schemas, but schema names must be unique and every schema must explicitly declare an indexing mode.
The page does not specify installation packages, supported Python or Vespa versions, credentials, hosting requirements or hardware capacity. It discusses embeddings without explaining how to obtain them or which embedding models are compatible.
Mechanism
Python migrations are the source of configuration. The documented migration command runs them in timestamp order, builds the application package in memory and deploys it to the cluster. The package contains schema definitions under schemas/ and query-profile XML under search/query-profiles/. Existing migrations are intended to remain unchanged, with new files recording subsequent changes.
With DOCUMENT_PER_CHUNK, create_schema() automatically adds standard content, embedding, identity and metadata fields. Each chunk becomes a separately addressable Vespa document with a deterministic identifier.
The four generated ranking profiles are root, match_only, weighted-rank1 and weighted-rank2. The weighted profiles combine scoring functions using query-time weights. The second phase adds further scoring to first-phase results, while the generated query profile defaults to weighted-rank2. All weights initially equal zero.
Setup
The documented sequence is to create Python migration files in vespa_app/migrations/ and run mistral-vespa migrate. The migration system then generates and deploys the application package. The guide also names mistral-vespa generate as the command for inspecting generated configuration.
This sequence assumes the integration and cluster are already configured. The page links to schema management and CLI references for further instructions, but supplies neither installation commands nor a complete migration file. The sequence was not executed.
Example
The page illustrates first-phase scoring as a weighted sum of title BM25, content-embedding closeness and creation-time freshness. Its second-phase example adds title matching and logarithmic freshness to the first-phase score.
In plain language, this shows how keyword relevance, semantic similarity and recency can contribute to ordering results. Developers can change their relative contribution at query time without modifying the schema. The page gives no recommended weight values, sample query response or measured relevance result, and the example was not run.
Assessment & evidence
Limitations
The SINGLE_DOCUMENT indexing mode stores one Vespa document per source, with that source's chunks packed as arrays. The page labels it legacy and deprecated, with removal stated to occur before version 1.0.0. DOCUMENT_PER_CHUNK is the recommended layout. The page does not identify the installed or current software version.
Streaming search is described as single-phase, so readers should not assume that the indexed mode's two-phase ranking behavior applies to it. The page does not explain how the general weighted-rank2 default is handled for streaming schemas.
There are no benchmarks, worked deployment results or demonstrations of migration idempotency. Claims that migrations are safe to rerun are documentation statements, not verified results. Ranking quality and operational compatibility remain unassessed.
Design reasoning
The documented design makes migrations the reviewable history of schema and configuration changes. This can help teams understand how their application evolved, provided they follow the append-only convention. The page does not demonstrate recovery or rollback behavior.
Phased ranking reflects a speed-versus-scoring-complexity tradeoff: inexpensive functions run across matches, while more expensive functions rerank a smaller set. Query-time weights make tuning possible without changing the schema, but their zero defaults require explicit configuration. These are explanations of the documented design, not measured benefits.
Alternatives
The page supports comparison between two internal approaches: indexed search with approximate vector retrieval and two-phase ranking, and streaming search with exact nearest-neighbor retrieval and single-phase ranking. It provides no measurements or workload guidance that establish which is preferable for a particular dataset.
The legacy single-document layout is described for context, but the page recommends document-per-chunk and marks the legacy option for removal. Other search engines, integrations and learning resources are not evaluated in the supplied evidence.
Evidence
The evidence is the complete documentation page at [https://docs.mistral.ai/studio/search/search-toolkit/search-index/vespa/anatomy.md], captured on 15 November 2026.
The page directly supports the configuration structure, migration conventions, field types, generated profiles and deprecation notice described here. It supplies no executable project, test results or runtime observations. Linked documentation was not assessed.
Access & freshness
Costs
Costs are unknown. The page provides no pricing for the integration, cluster operation, storage, embedding generation or queries, and no resource measurements from which to estimate them. Documentation access does not establish that operating the described system is free.
Rights
The supplied page contains no license statement or redistribution terms for its text or examples. It also does not establish the software license or service terms applicable to the integration and cluster. Reuse and redistribution permissions therefore remain unknown.
Freshness
The supplied page was captured on 15 November 2026 at 09:37:11 UTC. No publication date, last-updated date or applicable package release is provided. The capture date establishes when this text was obtained, not when its technical guidance was last revised.
The removal notice for SINGLE_DOCUMENT is version-sensitive. Its status in any particular installation, and the compatibility of the documented CLI commands and configuration APIs, remain unknown.
Practical next steps
Use the guide to map your document types, search mode and ranking needs before writing migrations. Follow its recommended DOCUMENT_PER_CHUNK layout, and obtain the separate installation, schema-management and CLI instructions before attempting deployment.
Set explicit non-zero ranking weights for the signals you intend to use. If considering streaming search, confirm how query profiles and ranking phases behave in your supported version. Inspect generated configuration and evaluate retrieval on representative queries before relying on its relevance.
Confirm applicable versions, operating costs and licensing separately. These are suggested next steps; none was performed for this report.
