private void unIndex ( final Object connection , final AttributeWrapper wrapper , final String member ) { Set < String > keys = wrapper . getIndexes ( ) . keySet ( ) ; for ( String key : keys ) { if ( resource != null && resource . isActive ( ) ) { ( ( Transaction ) connection ) . zrem ( key , member ) ; } else { ( ( Pipeline ) connection ) . zrem ( key , member ) ; } } }
Deletes inverted indexes from redis .