elastic / elastic/relevance-studio

[Feature]: Add support for stored search templates

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
42
Forks
18
Avg merge
1d 7h
Merged PRs (30d)
4

Description

### Problem Statement

Our team is migrating to centralized, stored search templates to manage all search requests across multiple clients. Currently, Relevance Studio does not support the ingestion or utilization of these centralized templates. This forces us to manually replicate and maintain identical search queries in multiple places, creating a high maintenance burden, increasing the risk of configuration drift, and defeating the purpose of a centralized architecture.

### Proposed Solution

We would like Relevance Studio to natively support stored search templates. Specifically, the platform should be able to:

1. Fetch/Reference a centralized stored template.
2. Accept dynamic parameters at runtime to pass into the template.
3. Render and test the relevance of the query based on those parameterized inputs.

### Alternatives Considered

We considered continuing to manually sync queries between our codebase and Relevance Studio, but this approach is error-prone, non-scalable, and creates unnecessary overhead for our engineering and product teams.

### Enhancement Area

Frontend (UI)

### Priority

Medium - Nice to have

### Use Case

_No response_

### Additional Context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies the Frontend (UI) as the enhancement area but names no files or tests. Start by locating the UI entry point for search requests and relevance testing, then trace how request inputs are represented. Done means the UI can reference a stored search template, accept runtime parameters, and render and test the resulting query.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch
Domain
frontend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.