From 5481111924a6e611d785bb086d42b936293c2795 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 27 Apr 2007 20:43:17 +0000
Subject: [PATCH] Add initial support for server-side sorting in OpenDS.  This implementation will only work for indexed searches, and it operates by sorting the ID list before iterating through the entries to return them to the client.

---
 opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
index bda8605..8f49118 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -1819,6 +1819,22 @@
 
 
   /**
+   * The OID for the server-side sort request control.
+   */
+  public static final String OID_SERVER_SIDE_SORT_REQUEST_CONTROL =
+       "1.2.840.113556.1.4.473";
+
+
+
+  /**
+   * The OID for the server-side sort response control.
+   */
+  public static final String OID_SERVER_SIDE_SORT_RESPONSE_CONTROL =
+       "1.2.840.113556.1.4.474";
+
+
+
+  /**
    * The IANA-assigned OID for the feature allowing the use of LDAP true and
    * false filters.
    */

--
Gitblit v1.10.0