Searching an index on a server with multiple indexes searches all indexes

Created on 14 October 2025, about 19 hours ago

Problem/Motivation

Typically if you make two different Search API indexes, and two views associated with each index, each view will only return search results from its index. In this case any view will search all indexes on the server.

Steps to reproduce

1. Make an OpenSearch VDB server
1. Make two indexes with different content
1. Make a view associated with one of these

Proposed resolution

Content should be indexed using index aliases or something similar (if it isn't already), and search queries should only search the content in the current index.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇿New Zealand fraserthompson Dunedin, New Zealand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024