[Date Prev][Date Next] [Chronological] [Thread] [Top]

tuning searches



Title: tuning searches

In a compound search, such as
    (&(attr1=value1)(attr2=value2)(attr3=value3))

is the order of evaluation left-to-right ? I'm assuming the first _expression_ prunes the search
space for the 2nd, and so forth. In that case, it would make sense to place the "most
restrictive" _expression_ up front (and have it indexed).

Also, how is the "search base" used to prune the search ? Is this used to get an
appropriate "range" from the underlying btree ? Or is the base DN being used in some
other way to prune the search space ?

Thanks, Vinod.