-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.0.11 EE
-
Fix Version/s: 6.0.X EE, --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Core Infrastructure, Performance
-
Labels:
-
Environment:LIFERAY VERSION: 6.0 SP 1
OPERATING SYSTEM: Linux
APPLICATION SERVER: Tomcat 6.x
JAVA VIRTUAL MACHINE: Java 6
DATABASE: Postgresql
-
Branch Version/s:6.0.x
-
Backported to Branch:Committed
When adding 1 organization, the entire company search index is re-indexed. It also reindexes the left/right and parent relationships to the organization, causing issues when there are over 15,000 organizations. This occurs in 6.0 SP2 as well.
The code is as follows:
// Indexer
Indexer indexer = IndexerRegistryUtil.getIndexer(Organization.class);
indexer.reindex(
new String[]
);
return organization;
This will cause issues for big companies who require a large amount of organizations for their environments.