From 172ae4c6e63be576376b32a68c8e8218f202fa22 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.

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

diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index bda8605..8f49118 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/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