Class StrFieldSource

java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.FieldCacheSource
org.apache.solr.schema.StrFieldSource

public class StrFieldSource extends org.apache.lucene.queries.function.valuesource.FieldCacheSource
  • Field Summary

    Fields inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource

    field
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    org.apache.lucene.queries.function.FunctionValues
    getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
     
    int
     

    Methods inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource

    getField

    Methods inherited from class org.apache.lucene.queries.function.ValueSource

    asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StrFieldSource

      public StrFieldSource(String field)
  • Method Details

    • description

      public String description()
      Overrides:
      description in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
    • 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)
      Overrides:
      equals in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.lucene.queries.function.valuesource.FieldCacheSource