public override sealed SimWeight ComputeWeight(float queryBoost, CollectionStatistics collectionStats, params TermStatistics[] termStats) { PerFieldSimWeight weight = new PerFieldSimWeight(); weight.@delegate = Get(collectionStats.Field); weight.delegateWeight = [email protected](queryBoost, collectionStats, termStats); return weight; }
public override sealed SimWeight ComputeWeight(float queryBoost, CollectionStatistics collectionStats, params TermStatistics[] termStats) { PerFieldSimWeight weight = new PerFieldSimWeight(); weight.@delegate = Get(collectionStats.Field()); weight.DelegateWeight = [email protected](queryBoost, collectionStats, termStats); return weight; }
public override sealed SimScorer GetSimScorer(SimWeight weight, AtomicReaderContext context) { PerFieldSimWeight perFieldWeight = (PerFieldSimWeight)weight; return([email protected](perFieldWeight.delegateWeight, context)); }