<p dir="auto">Add optional <code class="notranslate">filter</code> option to term suggester, that only allows suggest options that match with the filter.</p>
<p dir="auto">When using phrase suggest API to provide "Did you mean ?" corrections it would be nice to include only suggestions that would return results.</p>
<p dir="auto">So returned phrase must exist at least in one document in the index.</p>