Class PushExpressionsToFieldLoad


public class PushExpressionsToFieldLoad extends ParameterizedRule<LogicalPlan,LogicalPlan,LocalLogicalOptimizerContext>
Replaces vector similarity functions with a field attribute that applies the similarity function during value loading, when one side of the function is a literal. It also adds the new field function attribute to the EsRelation output, and adds a projection after it to remove it from the output.