Hi All,

I see there is a fix for KnnQParser to add selected fqs as pre-filter:
https://issues.apache.org/jira/browse/SOLR-16858
Chris Hostetter was using "multiselect faceting" as an example to
illustrate the use case.

However the "multiselect faceting" is still not working well with vector
search:

In *org/apache/solr/request/SimpleFacets.java*

protected DocSet computeDocSet(DocSet baseDocSet, List<String> excludeTagList)
    throws SyntaxError, IOException {
  ...

     // add the base query
     if (!excludeSet.containsKey(rb.getQuery())) {
        qlist.add(rb.getQuery());
     }

...
}

Here the base query returned by *rb.getQuery() *still contains all the fqs
as pre-filter including the fq that the facet request tries to exclude.

I'm wondering if this is fixed in a later version?

Best,

Yue

Reply via email to