How To
ForgeRock Identity Platform
Does not apply to Identity Cloud

How do I know what index types are needed for search filters in DS (All versions)?

Last updated Jan 12, 2023

The purpose of this article is to provide information on what index types are needed for search filters in DS.


2 readers recommend this article

Index types needed for search filters

A search with single-level or subtree scope will need indexes. The index types required depend on all the terms in the search filter and are illustrated in the following table (the uid attribute is used as an example):

Filter Term Index Required
(uid=*) uid presence
(uid=m*) uid substring
(uid=*m) uid substring
(uid=*m*) uid substring
(uid=m*m) uid substring
(uid>=10) uid ordering
(uid<=10) uid ordering
(uid=m) uid equality
(uid~=doe) uid approximate

Further information about the different index types, with examples, is provided in Index Types.

See Also

Unindexed searches causing slow searches and poor performance on DS (All versions) server

How do I troubleshoot issues with my indexes in DS (All versions)?

Related Training

ForgeRock Directory Services Core Concepts (DS-400)

Related Issue Tracker IDs

N/A


Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.