Skip to content

Commit

Permalink
NO JIRA: modules/ltr - mark FieldValueFeatureScorer.context private a…
Browse files Browse the repository at this point in the history
…nd final (apache#1640)
  • Loading branch information
cpoerschke authored May 12, 2023
1 parent 87627ce commit 7a31a1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public FeatureScorer scorer(LeafReaderContext context) throws IOException {
/** A FeatureScorer that reads the stored value for a field */
public class FieldValueFeatureScorer extends FeatureScorer {

LeafReaderContext context = null;
private final LeafReaderContext context;

public FieldValueFeatureScorer(
FeatureWeight weight, LeafReaderContext context, DocIdSetIterator itr) {
Expand Down

0 comments on commit 7a31a1e

Please sign in to comment.