Class BulkLookupMvFilterExec

All Implemented Interfaces:
NamedWriteable, Writeable

public class BulkLookupMvFilterExec extends UnaryExec
Physical plan node inserted in a LOOKUP JOIN plan by LuceneBulkLookup when it decides to use the bulk lookup optimization which directly reads docids for terms instead of issuing Lucene queries.

Directly reading the docids that way is fast but does not give the correct result when multivalues are present, so we use this node to direct the LookupExecutionPlanner to use an operator factory producing a filter that uses BulkLookupSingleValued to ensure false-positive multivalue matches are replaced by null in the final result.