It should (unless there's a bug).

It should be not that hard to verify (or ultimately debug + adding a
related test).

Let us know!

--------------------------

Alessandro Benedetti
Visiting card - https://sease.io/about/alessandro-benedetti
<http://about.me/alessandro_benedetti>
Blog - https://sease.io/blog <http://alexbenedetti.blogspot.co.uk>

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

On Wed, 21 May 2025, 19:57 Natarajan, Rajeswari,
<rajeswari.natara...@sap.com.invalid> wrote:

> The documentation says as below
>
>
> https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html#graph-pre-filtering
>
> The example request below shows two usages of vector query parsers that
> will get no implicit Pre-Filtering from any of the fq parameters, because
> neither usage is as the main q param:
> ?q=(color_str:red OR {!vectorSimilarity f=color_vector minReturn=0.7
> v="[1.0, 2.0, 3.0, 4.0]"})
> &fq={!knn f=title_vector topK=10}[9.0, 8.0, 7.0, 6.0]
> &fq=inStock:true
>
>
> In the hybrid query ,Boolean query is performed , so the vector part of
> the query does not honor the fq ?  . Please confirm
>
> Thanks,
> Rajeswari
>
> From: "Natarajan, Rajeswari" <rajeswari.natara...@sap.com>
> Date: Wednesday, May 21, 2025 at 11:48 AM
> To: "users@solr.apache.org" <users@solr.apache.org>
> Subject: Implicit filters on hybrid query
>
> Hi,
>
> Following this page to do hybrid search
> https://sease.io/2023/12/hybrid-search-with-apache-solr.html
>
> In hybrid search , will the fq params be honored by vector search as a pre
> filter.
>
> Let me know.
>
>
> Thanks,
> Rajeswari
>
>

Reply via email to