You may encounter an issue where specific users, or a group of users, are not appearing with the Control Panel. If upon querying the relevant tables in the database you are able to see these users, then it is likely that there is simply a discrepancy between the database and the index.
Resolution
To resolve the issue, re-index user model index or all search indexes in order to sync the index Liferay is accessing with the database.
Option 1: Re-index User Model Index Only
In Liferay DXP DXP 7.1-7.3:
- Navigate to the Control Panel
- Click on Search > Index Actions
- Execute Reindex com.liferay.portal.kernel.model.User button.
In Liferay DXP 7.0:
- Navigate to the Control Panel.
- Click on Server Administration under Configuration.
- Execute the Reindex com.liferay.portal.kernel.model.User button.
In Liferay Portal 6.2 EE and Below:
- Navigate to the Liferay Control Panel.
- Click on App Manager > Expand Liferay core.
- Execute Reindex Search of Users and Organizations.
Option 2: Re-index All Search Index (Including User Model)
In Liferay DXP DXP 7.1-7.3:
- Navigate to the Control Panel
- Click on Search under Configuration
- Go to Index Actions tab, and execute the Reindex All Search Indexes button
In Liferay DXP 7.0:
- Navigate to the Control Panel
- Click on Server Administration under Configuration
- Execute the Reindex all search indexes. button
In Liferay Portal 6.2 EE and Below:
- Navigate to the Liferay Control Panel
- Click on Server Administration
- Execute the Reindex All Search Indexes button
Additional Information
Reindexing all search indexes is suggested to be executed in a timespan when the Portal is expected to see low load and number of visitors, or in a maintenance window. The reason for this is users will not find indexable assets (eg. web content articles) and other indexable resources (eg. users) until the corresponding index document is recreated. In addition, reindexing is a resource-consuming background task with a strong performance impact.