Hi Gary,

if an index is created, then you will have a associated B-tree that is used to store the index. It should be available after the index has been added. Note that the index must be created before the entry are added.


On 05/04/2021 22:11, Trexler, Gary A [US] (ES) wrote:
We are running ApacheDS 2.0.0.AM25 on a Windows 2019 server.
We have created a new partition and OU=people.  In this OU, there about 65,000 
user objects.
Using Apache Directory Studio,  Partition Specific setting: Cache Size: 250000. 
 In the Indexed attributes section, we added 'mail' and set cache size to 
100000.
Searching for accounts by 'mail' sometimes times out.  Once the timeout occurs, 
the server seems hung and must be restarted.
How do I check if indexing is occurring?  When I attempted to add the SN to the 
indexing, the server fails to start.

If you already have the entries in the server, then adding an index will re-index the full database on startup, which will take a while, especially with 65 000 users. Have you tried with a subset of, say 10000 entries? or have you waited until the indexing is completed?

I have to go into the config and remove the indexing to get the server running again.
Here is my query: (info in < > brackets has been redacted)
Ldifde -f test.ldf -s <servername> -a uid=admin,ou=system <password> -d ou=people,dc=<domain>,dc=com -p 
subtree -r "(&(objectclass=organizationalPerson)(mail=gabe.re...@abc.com))" -l "cn,mail"

Once the index is added, that should be instantaneous.


I have been unable to find any documentation on how indexing is configured and 
tested.  Any assistance would be greatly appreciated.

I can chck if the mail is properly indexed, we have a test case for that (OperationWithIndexTest), but it may take a bit of time (day job, lockdown wit a 4 yo...)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org


--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecha...@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to