Class 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 Detail

      • StrFieldSource

        public StrFieldSource​(String field)
    • Method Detail

      • 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