890891892893894895896897898899900
Index index = getUserIndex( attr ); NamingEnumeration values = entry.get( attr ).getAll(); while ( values.hasMore() ) { index.drop( values.next(), id ); } existanceIdx.drop( attr.toLowerCase(), id ); } }
10861087108810891090109110921093109410951096
throws NamingException { if ( hasUserIndexOn( mods.getID() ) ) { Index idx = getUserIndex( mods.getID() ); idx.drop( mods, id ); /* * If no attribute values exist for this entryId in the index then * we remove the existance index entry for the removed attribute. */