Class FieldValueFeature

  • All Implemented Interfaces:
    org.apache.lucene.util.Accountable

    public class FieldValueFeature
    extends Feature
    This feature returns the value of a field in the current document Example configuration:
    {
      "name":  "rawHits",
      "class": "org.apache.solr.ltr.feature.FieldValueFeature",
      "params": {
          "field": "hits"
      }
    }