Add support for JSON:API endpoints and "more like this"
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3560506. -->
Reported by: [jelleglebbeek](https://www.drupal.org/user/3729474)
Related to !8
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Vragen.ai will soon offer JSON:API endpoints for search and more like this. We need to use these endpoints instead of the relatively unstable "/results" endpoint. We can then also add support for "more like this" MLT search.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Switch to the JSON:API endpoint, meaning we can use the DocumentFactory. Support MLT and change the request made to Vragen.ai when that tag has been set.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>None.</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>Removed the search system selection.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>Its no longer possible to choose a specific system, filtering is done via ConditionGroups.</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>Removed the default search system config key.</p>
issue