
This article develops the supplied brief. The demo is proposed and has not been executed. Screenshots, benchmarks and tested configuration will be added after implementation.
Relevance is only half the question
A customer asks for a lightweight laptop available for delivery this week. The search engine understands the request and returns a convincing match. Unfortunately, the catalogue entry is from yesterday, and the product has since sold out.
This is a retrieval problem with two dimensions: the result must be relevant, and the application must understand how current it is. Better prompts cannot repair an index that has not yet received a business change. This proposed catalogue experiment makes that delay visible and gives the team a way to discuss freshness without promising instant consistency.
Choose the source deliberately
The Databricks AWS AI Search guide lists Delta tables, streaming tables, materialized views and managed Iceberg v3-or-later tables as supported sources. Check the index-creation requirements and your workspace before implementation. Documentation can differ across product pages or change during rollout; specifically confirm Iceberg support for your chosen configuration.
| Source | Proposed catalogue use | Question to resolve |
|---|---|---|
| Streaming table | New product listings arriving through a pipeline | When is each incoming record materialised? |
| Materialized view | Descriptions enriched with categories | When does the view incorporate upstream changes? |
| Managed Iceberg v3+ table | Catalogue maintained in an open table format | Is this exact table type supported in the workspace? |
| Delta table | Existing curated product data | Which sync settings meet the freshness target? |
Choose one source for the initial demo. Testing four configurations at once makes failures harder to interpret. Once the baseline works, repeat the same experiment with another source and compare the evidence.

Separate the refresh stages
The proposed architecture has more than one point at which data can become stale. An upstream feed can be late, a transformation may still be running, or an index sync may not yet have completed. Treat each stage as observable work with its own timestamps.
Prepare a catalogue that supports investigation
Give each product a stable ID, name, description, category, price, availability and last-updated timestamp. Write descriptions that contain useful product attributes rather than promotional filler. Keep fields needed for business filtering separate from descriptive text.
Create a small labelled query set before looking at search results. For each query, identify acceptable products and any mandatory exclusions. Include a semantic request such as “small computer for travel,” a category restriction, an unavailable product and a query that should return no suitable match. These examples are proposed evaluation inputs, not measured search outcomes.
Proposed demonstration: trace one change end to end
- Create a supported source using fictional products and record its configuration.
- Create the endpoint and index following the official guide, including the selected embedding and sync approach.
- Run the fixed query set and save IDs, rank positions and response times.
- Add a new product or change an existing description. Record the committed source timestamp.
- Refresh the source transformation and index where required by the chosen configuration.
- Repeat the same searches until the new state is visible, keeping every observation timestamp.
- Test metadata restrictions separately from ranking, then confirm stock and price with an operational lookup.
Keep the search request stable while investigating freshness. Changing the wording and the data at the same time obscures the cause of a result difference.
Measure the whole journey
Record four milestones: source commit, transformed-source visibility, index update completion and first observed query visibility. Poll at a known interval and report that interval: observing a result every ten seconds does not establish its exact arrival time.
| Measure | How to interpret it |
|---|---|
| Precision at five | Relevant returned items divided by five for queries returning five items; also report result counts |
| Query latency | Distribution across repeated requests, including slow responses |
| Source-to-search freshness | Delay from committed business change to observed retrieval |
| Cost | Index, embedding and refresh costs for the tested workload |
Track stale answers separately from irrelevant answers. A product can be semantically perfect and commercially unusable. Report median and tail delays across repeated updates, and record failed syncs rather than removing them from the dataset.
What the finished walkthrough still needs
The next implementation step is a reproducible notebook, a sanitised configuration, a timestamped freshness chart and measured query results. No benchmark or demo execution is claimed here.
Reliable AI search needs relevant retrieval and a clear account of how business changes reach the index. For commitments involving stock, price or delivery, let search identify options and let an authoritative operational check validate the final decision.
Worked example and design decisions
Change a fictional laptop description while its operational stock becomes unavailable. Search can still identify the item as semantically suitable. Confirm stock through an authorised operational lookup before promising delivery, even if descriptive indexing has caught up.
Use this scenario to write the expected result before building the pipeline or agent. Identify the exact source facts, the permitted transformations and the outcome that a reviewer should see. Keep the reference result independent of the implementation under test.
A concrete data or asset contract
The following is a proposed application contract, not an assertion that these are native vendor API fields. Adapt names and types to the selected platform while preserving their intended meaning.
| Proposed field | Meaning and implementation concern |
|---|---|
product_id | Stable item key |
search_text | Curated retrieval text |
category | Business-filter metadata |
source_updated_at | Committed source time |
index_observed_at | Observed search visibility |
availability_ref | Operational lookup reference |
Document null semantics, stable identifiers and schema ownership with the contract. A missing observation, a zero amount and a denied lookup are different states and should not collapse into the same empty response.
Implementation blueprint
1. Separate discovery and commitment
Let search identify candidates and the operational system confirm stock, price or delivery. Return timestamps and provenance.
2. Document sync responsibility
Record source type, index mode and embedding ownership. Verify the exact supported configuration rather than inferring support from a similar table type.
3. Fix the evaluation set
Label acceptable IDs and exclusions before testing. Keep query wording stable while changing one record.
4. Instrument visibility milestones
Capture source commit, transformation completion, index state and first observed query visibility. Record polling intervals and failed refreshes.
Failure analysis: test the uncomfortable case
Text becomes current while metadata used by a business filter remains stale. Validate every field influencing the result, not only the description displayed to the user.
Build this condition into the synthetic test set. Capture the observed output, the control that should detect the issue and the recovery decision. If the system returns a polished but unsupported result, record that as a failure rather than a successful request.
Operational ownership and runbook
Track relevance and freshness separately. Re-run the fixed query set after model, schema or index changes and document the supported recovery or re-index procedure.
A useful incident record identifies the affected product or capability, the relevant run or request, the business time represented and the owner of the next action. Distinguish restoring infrastructure from restoring correct service output. Preserve enough versioned evidence to explain the recovered state.
Evidence required before a production claim
The core design controls for this topic are: Stable IDs; explicit sync settings; labelled queries; operational checks; and timestamped evidence.
- Contract review: confirm field meaning, intended use, owner and access boundaries.
- Positive and negative tests: include the worked example, invalid inputs, restricted access and the failure case described above.
- Repeatable measurements: retain configuration, workload size, timing method, failures and the baseline used for comparison.
- Recovery evidence: demonstrate the documented recovery route and validate the resulting data or application behaviour.
This expanded article remains a proposed technical design. Environment-specific configuration, screenshots and measured outcomes should be added only after the implementation is executed and reviewed.
Official references
Reference scope: Databricks on AWS. Reviewed 29 October 2026; confirm workspace availability and current prerequisites before implementation.
