protected Map < Term , TermContext > getTermContexts ( List < MtasSpanNotQueryWeight > items ) { List < SpanWeight > weights = new ArrayList <> ( ) ; for ( MtasSpanNotQueryWeight item : items ) { weights . add ( item . spanWeight ) ; } return getTermContexts ( weights ) ; }
Gets the term contexts .