Facets support
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3565036. --> Reported by: [jelleglebbeek](https://www.drupal.org/user/3729474) Related to !10 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Many SAPI back-ends support the "Facet" module so facets can be retrieved and exposed to the user. It would be great if Vragen.ai could support this as well. As it brings it closer to a full semantic search replacement.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ol> <li>Implement faceted search on Vragen.ai.</li> <li>Allow an empty search query.</li> <li>Send the facets in the SAPI query to Vragen.ai</li> <li>Parse the resulting facet buckets and attach them to the result.</li> </ol> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Needs a review and is waiting for Vragen.ai upstream changes.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None.</p> <h3 id="summary-api-changes">API changes</h3> <p>Supports additional SAPI features: "search_api_facets" and "search_api_facets_operator_or".</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>Nothing on the Drupal side.</p>
issue