For AI Search combined with database search, results are reordered by new results are not added
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3481376. --> Reported by: [scott_euser](https://www.drupal.org/user/3267594) Related to !202 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>If you search for something that contains the words you are after, the AI Search can boost the results in the database search BUT if you use terms that don't exist in the results, the database search excludes them, so the boosting of nothing has no effect.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>E.g. search Umami for 'Green veggies' - these produce no results in database search, and therefore no results in AI Search BUT they should as there are plenty of results that are talking about green veggies, just not using those terms.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>WHERE (words IN (...) OR item_id IN (AI search IDs))</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>MR</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>N/A</p> <h3 id="summary-api-changes">API changes</h3> <p>N/A</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>N/A</p>
issue