Class Feature.FeatureWeight.ValueFeatureScorer

java.lang.Object
org.apache.lucene.search.Scorable
org.apache.lucene.search.Scorer
org.apache.solr.ltr.feature.Feature.FeatureWeight.FeatureScorer
org.apache.solr.ltr.feature.Feature.FeatureWeight.ValueFeatureScorer
Enclosing class:
Feature.FeatureWeight

public static class Feature.FeatureWeight.ValueFeatureScorer extends Feature.FeatureWeight.FeatureScorer
Default FeatureScorer class that returns the score passed in. Can be used as a simple ValueFeature, or to return a default scorer in case an underlying feature's scorer is null.
  • Constructor Details

    • ValueFeatureScorer

      public ValueFeatureScorer(Feature.FeatureWeight weight, float constScore, org.apache.lucene.search.DocIdSetIterator itr)
  • Method Details