Only filter on fields that exist on the index
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3525671. -->
Reported by: [scott_euser](https://www.drupal.org/user/3267594)
Related to !6
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>AI Related Content applies a condition on e.g. search_full_text yet that does a vector search and is not a filterable attribute. The current code <em>also</em> adds it to the pinecone filters</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Attempt to use AI Related Content</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Only filter on fields that exist on the index</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