mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

abobrov
19.31.2007 9460128ecc9f2050f80a03d874c29da118c2d06e
make searchIndexed() method execute only when we have related index. 
searchNotIndexed() will execute for when a given search is not indexed.
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java
@@ -658,7 +658,8 @@
    // Evaluate the search scope against the id2children and id2subtree indexes.
    boolean candidatesAreInScope = false;
    if (entryIDList.size() > IndexFilter.FILTER_CANDIDATE_THRESHOLD)
    if (entryIDList.isDefined() &&
            entryIDList.size() > IndexFilter.FILTER_CANDIDATE_THRESHOLD)
    {
      // Read the ID from dn2id.
      EntryID baseID = dn2id.get(null, baseDN);