ParsedQuery<T0,T1>.Optimize

Declaration

public void Optimize(bool propagateNotToLeaves, bool swapNotToRightHandSide);

Declaration

public void Optimize(Search.QueryGraphOptimizationOptions options);

Parameters

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.

Description

Optimizes the query by optimizing the underlying filtering graph.


Did you find this page useful? Please give it a rating: