Technical document

Exploratory Search Workspace built with FastAPI and React

We organize how to separate FastAPI, React, dataset management, and result storage in an exploratory application that performs search, candidate generation, and result comparison.
Search / Data Exploration~10 minPublication Date September 22, 2026Update date September 22, 2026
Exploratory Search Workspace built with FastAPI and React

Summary

Key points of this document

  • Where are the design challenges?
  • How to define boundaries?
  • Details that make a difference in implementation

Overview

In an exploratory search application, a simple search box and result list are not enough. A design is needed that allows users to compare candidates by changing conditions and save why a particular result was obtained. In exploratory search, not only the accuracy of the search box but also how the history of trial and error and the context of filtering are maintained in the UI and API is crucial.

Where are the design challenges?

In tasks involving adjusting search quality, simply entering a query and viewing results provides insufficient information for judgment. If differences when slightly altering conditions, variations in datasets, and reasons for adopting candidates cannot be preserved, discussions about improvements become subjective.

Exploratory processing can be time-consuming, and the number of results can be large. Returning everything via a synchronous API can lead to timeouts or UI freezes. It's also necessary to consider that results may change for the same search conditions if the dataset version changes.

In an exploratory search workspace, users don't get an answer from a single search; they proceed by changing conditions, comparing results, and retaining interesting items. With a simple list API, this state of trial and error is confined to the screen and lost.

How to define boundaries?

In the design, we separate datasets, scenarios, search execution, candidates, and evaluation results. FastAPI accepts search execution as a job, allowing results to be retrieved later. The React side adopts a screen configuration that separates condition editing and result comparison.

In the design, we separate search queries, filters, sorts, results, selections, and annotations. The React side maintains the workspace state during operation, while the FastAPI side saves the search execution input and result summary, allowing the same search to be reproduced later.

Details that make a difference in implementation

The API provides endpoints for dataset registration, search execution creation, progress retrieval, result retrieval, and evaluation memo storage. Results include score, rationale, input parameters, and dataset version.

FastAPI should return a "search_run_id" for the search API, and save conditions, execution time, number of results, and the index version used. The React side should put minimal conditions in the URL query and save heavy selection states and memos to the workspace API.Search conditions should not only be in the screen's state but treated as shareable URLs or saved runs.Result highlighting should return the rationale position from the API side, not relying on simple string search on the screen side.

  • For large results, show users not just paging, but also the change in the number of items after filtering.
  • Observing how things break
  • For validation, we check reproducibility when re-executing with the same conditions, differences when datasets change, cancellation of long-running executions, and paging when there are many results. In the UI, it's also important whether comparison targets are not lost.

For validation, we check if the same results are returned under the same conditions, and how results change after index updates. In the UI, we perform E2E testing to ensure that back/forward, URL sharing, filter clearing, and selection retention work naturally.

Discarded options and tradeoffs

Saving all results increases storage capacity. Rules are needed to retain only important executions or for a specific retention period. Making exploration too flexible can complicate the screen, so templating frequently used scenarios makes it easier to handle.

Saving search executions increases reproducibility, but requires managing storage volume and privacy. Instead of persisting all searches, a clear distinction is needed based on usage, such as saving only searches that require sharing or auditing.

Decision-making criteria to leave on site

In exploratory search, it's important to retain not just the results themselves, but also the conditions and data versions. By creating a reproducible search workspace, improvement decisions can be shared across the team.

The value of exploratory search is not just the speed of returning results. When designed to support how users change conditions, what they select, and where they make decisions, the search screen becomes a workspace.

Exploratory Search Workspace built with FastAPI and React

We organize how to separate FastAPI, React, dataset management, and result storage in an exploratory application that performs search, candidate generation, and result comparison.

Technical documents

We will continue to increase technical documentation.

We will continue to organize our thoughts on AI, cloud, business app development, requirements definition, and operational design into documents.

Go to technical documentation list