2526272829303132
return String.format("BM25(b=%f,k1=%f)", b, k1); } @Override public void init(DocumentCollection collection, IndexConfiguration index) throws Exception { scorer = new BM25Scorer(k1, b); super.init(collection, index); }