This is an automated email from the ASF dual-hosted git repository.
abenedetti pushed a commit to branch branch_9_1
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_1 by this push:
new 33c9eb9d9ab SOLR-16567: KnnQueryParser support for both pre-filters
and post-filter, compilation error fix (#1245)
33c9eb9d9ab is described below
commit 33c9eb9d9ab8d88e94dd409af01de106c28dc285
Author: Alessandro Benedetti <[email protected]>
AuthorDate: Thu Jan 5 22:12:05 2023 +0100
SOLR-16567: KnnQueryParser support for both pre-filters and post-filter,
compilation error fix (#1245)
---
solr/core/src/java/org/apache/solr/search/neural/KnnQParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/search/neural/KnnQParser.java
b/solr/core/src/java/org/apache/solr/search/neural/KnnQParser.java
index 5eb6fc1d0f4..fe5dcc4780f 100644
--- a/solr/core/src/java/org/apache/solr/search/neural/KnnQParser.java
+++ b/solr/core/src/java/org/apache/solr/search/neural/KnnQParser.java
@@ -91,7 +91,7 @@ public class KnnQParser extends QParser {
try {
List<Query> filters = QueryUtils.parseFilterQueries(req);
SolrIndexSearcher.ProcessedFilter processedFilter =
- req.getSearcher().getProcessedFilter(filters);
+ req.getSearcher().getProcessedFilter(null, filters);
return processedFilter.filter;
} catch (IOException e) {
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);