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

neil_a_wilson
14.57.2007 699b72b68caa1f6e0ce2a5dde30432d1811fe93d
Update the JE backend search processing code so that any unindexed search will
be checked against the virtual attribute subsystem to see if any of the virtual
attribute providers can help process the search.

OpenDS Issue Number: 1507
1 files modified
10 ■■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 10 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java
@@ -805,6 +805,16 @@
    }
    else
    {
      // See if we could use a virtual attribute rule to process the search.
      for (VirtualAttributeRule rule : DirectoryServer.getVirtualAttributes())
      {
        if (rule.getProvider().isSearchable(rule, searchOperation))
        {
          rule.getProvider().processSearch(rule, searchOperation);
          return;
        }
      }
      ClientConnection clientConnection =
          searchOperation.getClientConnection();
      if(! clientConnection.hasPrivilege(Privilege.UNINDEXED_SEARCH,