Searching an index on a server with multiple indexes searches all indexes
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3551988. --> Reported by: [fraserthompson](https://www.drupal.org/user/3277234) Related to !8 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>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.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. Make an OpenSearch VDB server<br> 1. Make two indexes with different content<br> 1. Make a view associated with one of these</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>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.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue