Class FloatPayloadValueSource

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

public class FloatPayloadValueSource extends org.apache.lucene.queries.function.ValueSource
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.lucene.queries.payloads.PayloadDecoder
     
    protected final org.apache.lucene.queries.function.ValueSource
     
    protected final String
     
    protected final org.apache.lucene.util.BytesRef
     
    protected final String
     
    protected final org.apache.lucene.queries.payloads.PayloadFunction
     
    protected final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource)
     
  • 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

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

    Methods inherited from class java.lang.Object

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

    • field

      protected final String field
    • val

      protected final String val
    • indexedField

      protected final String indexedField
    • indexedBytes

      protected final org.apache.lucene.util.BytesRef indexedBytes
    • decoder

      protected final org.apache.lucene.queries.payloads.PayloadDecoder decoder
    • payloadFunction

      protected final org.apache.lucene.queries.payloads.PayloadFunction payloadFunction
    • defaultValueSource

      protected final org.apache.lucene.queries.function.ValueSource defaultValueSource
  • Constructor Details

    • FloatPayloadValueSource

      public FloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource)
  • Method Details

    • 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
    • name

      public String name()
    • description

      public String description()
      Specified by:
      description in class org.apache.lucene.queries.function.ValueSource
    • 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