Previous Topic: New and Changed Features in SP8

Next Topic: Horizontal Partitioning with Wildcard Support

Virtual List Views (VLV) Support

CA Directory now supports VLV which provides you two ways to access a page in a sorted result.

Access Method 01:

The client provides a greater-than-or-equal to match-value defining a position in the desired page. For example, the server returns the page starting with an entry where the attribute, such as myattr1 has a value greater than or equal to 499.

LDUA Example:

search-req base-object=<> whole-subtree
controls = { server-side-sort myattr1
virtual-list-view before = 1 after = 3 greater-or-equal = 0000000499 };
wait;

Access Method 02:

The server returns the page defined by an ordinal offset, when there is no matching value. For example, the server returns the page that starts with entry 2000.The request can only be handled by assembling the entire result set, sorting it, and moving to the 2000th entry.

LDUA Example:

search-req base-object=<> whole-subtree
controls = { server-side-sort myattr1
virtual-list-view before = 1 after = 3 offset = 2000 content-count = 6000 };
wait; 
before

Defines the number of entries before the target entry that the client requests the server to send.

after

Defines the number of entries after the target entry that the client requests the server to send.

offset

Defines the target entry.

content-count

Defines the number of entries in the result set.

greater-or-equal

Defines the target entry by comparing it to the values of the attribute specified.