Version: 2022.1
public void Optimize (bool propagateNotToLeaves, bool swapNotToRightHandSide);
public void Optimize (Search.QueryGraphOptimizationOptions options);

参数

propagateNotToLeaves Propagate "Not" operations to leaves, so only leaves can have "Not" operations as parents.
swapNotToRightHandSide Swaps "Not" operations to the right-hand side of combining operations (i.e. "And", "Or"). Useful if a "Not" operation is slow.
options Optimization options.

描述

Optimizes the query by optimizing the underlying filtering graph.