@ Override public int getPlacementForestIndex ( DocumentURI uri ) { int idx = 0 ; try { idx = popAndInsert ( ) ; } catch ( InterruptedException e ) { LOG . error ( "Statistical assignment gets interrupted" ) ; } return idx ; }
get the index of the forest with smallest number of docs