Allow Pinecone VDB Provider to filter on meta data
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3477266. -->
Reported by: [scott_euser](https://www.drupal.org/user/3267594)
Related to !127
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>It would be nice to have the View leveraging Search API able to filter directly on metadata, once we have Filterable Attributes in from <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3471759" title="Status: Closed (fixed)">#3471759: Search API Index fields need more user control, UI should be updated to make it clearer how the embedding content is prepared</a></span>.</p>
<p>Its likely this will be limited in what it can do as it involves mapping fields in Drupal to supported filters in the various VDB Providers, so <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3470414" title="Status: Closed (fixed)">#3470414: Provide a mechanism to combine vector search with traditional search</a></span> may ultimately be needed, but some basics would be nice.</p>
<p><img src="https://www.drupal.org/files/issues/2024-09-27/2024-09-27_11-28.png" alt="Screenshot of Search API configuration of fields"></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Add some fields like date or publishing status<br>
Attempt to filter results by them in Views</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add some support for this</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>Vector metadata will contain more values.</p>
issue