Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
QueryWrapperFilter has not been needed ever since Filter was changed to extend Query – LUCENE-1518. It was retained because there was at least one place in Lucene that had a Filter/Query distinction, but it was forgotten when Filter moved to Solr. It contains some code that creates a temporary IndexSearcher but forgets to null out the cache on it, and so QueryWrapperFilter can add non-trivial overhead. We should simply remove it altogether.