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

neil_a_wilson
14.57.2007 c230cbeeea46ffcfc12442c8bde08cc9a2291da4
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
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 10 ●●●●● patch | view | raw | blame | history
opendj-sdk/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,