float[] allTermScoreVect = getTermScoreVector();
TermFreqVector freqVector = getTermFreqVector();
if( freqVector == null ) return 0;
int idx = freqVector.indexOf(term); // does a binary search
if( idx == -1 ) return 0;
return allTermScoreVect[idx];
}
private float[] createTermScoreVector(TermFreqVector vect, IndexReader reader) throws IOException