Affects Version/s: 6.0.11 EE
Environment:LIFERAY VERSION: 6.0 SP 1
OPERATING SYSTEM: Linux
APPLICATION SERVER: Tomcat 6.x
JAVA VIRTUAL MACHINE: Java 6
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 = IndexerRegistryUtil.getIndexer(Organization.class);
This will cause issues for big companies who require a large amount of organizations for their environments.