org.apache.solr.ltr.feature

Class FieldValueFeature



  • 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"
      }
    }