Create a graceful search function call
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3557442. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !210
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>One problem right now, is that some people might not have the infrastructure for semantic/vector search, but be 100% reliant on that you use traditional search.</p>
<p>We do not want to create two different search tools for each of these, but instead have one that has graceful fallback. </p>
<p>What this means is that we can connect any type of index to this tool and it should just work. It shouldn't really care about if its chunks from a vector search given back, or a search result for a database search.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Make it possible to attach any type of search.</li>
<li>Make sure you can preview the content correctly - it might be that it should always give back the full content in some format.</li>
<li>Make it so that it can report what kind of index its using (maybe enough in the tool section)</li>
</ul>
issue