rewrite方法--2

IndexSearcher(Searcher).createWeight(Query) 代码如下: protected Weight createWeight(Query query) throws IOException {   return query.weight(this); } BooleanQuery(Query).weight(Searcher) 代码为: public Weight
相关文章
相关标签/搜索