Class FieldNameValueSource

java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.solr.search.function.FieldNameValueSource

public class FieldNameValueSource extends org.apache.lucene.queries.function.ValueSource
Placeholder value source.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Constructor Details

    • FieldNameValueSource

      public FieldNameValueSource(String fieldName)
  • Method Details

    • getFieldName

      public String getFieldName()
    • getValues

      public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
      Specified by:
      getValues in class org.apache.lucene.queries.function.ValueSource
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class org.apache.lucene.queries.function.ValueSource
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.lucene.queries.function.ValueSource
    • description

      public String description()
      Specified by:
      description in class org.apache.lucene.queries.function.ValueSource