// add all attribute oids of index configs to a hashset
if ( override instanceof JdbmPartition )
{
Set<Index<?,ServerEntry>> indices = ( ( JdbmPartition ) override ).getIndexedAttributes();
Set<String> indexOids = new HashSet<String>();
OidRegistry registry = registries.getOidRegistry();
for ( Index<?,ServerEntry> index : indices )
{
indexOids.add( registry.getOid( index.getAttributeId() ) );
}
if ( ! indexOids.contains( registry.getOid( SchemaConstants.OBJECT_CLASS_AT ) ) )
{
LOG.warn( "CAUTION: You have not included objectClass as an indexed attribute" +
"in the system partition configuration. This will lead to poor " +
"performance. The server is automatically adding this index for you." );
JdbmIndex<?,ServerEntry> index = new JdbmIndex<Object,ServerEntry>();