ConditionOptimization uses ConstantsTrait
The values of the `conditionOptimization` option of the AQL `SEARCH` operation, controlling how the search criteria are optimized — used as the {@see \oihana\arango\db\options\SearchOptions::$conditionOptimization} value.
Tags
Table of Contents
Constants
- AUTO : string = 'auto'
- Convert the conditions to disjunctive normal form (DNF) and apply optimizations, removing redundant or overlapping conditions (server default). Can take quite some time even for a low number of nested conditions.
- NONE : string = 'none'
- Search the index without optimizing the conditions.
Constants
AUTO
Convert the conditions to disjunctive normal form (DNF) and apply optimizations, removing redundant or overlapping conditions (server default). Can take quite some time even for a low number of nested conditions.
public
string
AUTO
= 'auto'
NONE
Search the index without optimizing the conditions.
public
string
NONE
= 'none'