Class LuceneFloatDomain
- java.lang.Object
-
- org.hibernate.search.backend.lucene.types.lowlevel.impl.LuceneFloatDomain
-
- All Implemented Interfaces:
LuceneNumericDomain<Float>
public class LuceneFloatDomain extends Object implements LuceneNumericDomain<Float>
-
-
Constructor Summary
Constructors Constructor Description LuceneFloatDomain()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<Float>createComparator()org.apache.lucene.search.QuerycreateExactQuery(String absoluteFieldPath, Float value)org.apache.lucene.search.FieldComparator<Float>createFieldComparator(String fieldName, int numHits, Float missingValue, boolean reversed, int sortPos, MultiValueMode multiValueMode, NestedDocsProvider nestedDocsProvider)org.apache.lucene.index.IndexableFieldcreateIndexField(String absoluteFieldPath, Float numericValue)org.apache.lucene.facet.FacetscreateRangeFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, Collection<? extends Range<? extends Float>> ranges, NestedDocsProvider nestedDocsProvider)org.apache.lucene.search.QuerycreateRangeQuery(String absoluteFieldPath, Float lowerLimit, Float upperLimit)org.apache.lucene.search.QuerycreateSetQuery(String absoluteFieldPath, Collection<Float> values)org.apache.lucene.index.IndexableFieldcreateSortedDocValuesField(String absoluteFieldPath, Float numericValue)org.apache.lucene.facet.FacetscreateTermsFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, NestedDocsProvider nestedDocsProvider)static LuceneNumericDomain<Float>get()FloatgetMaxValue()FloatgetMinValue()FloatgetNextValue(Float value)FloatgetPreviousValue(Float value)FloatsortedDocValueToTerm(long longValue)
-
-
-
Method Detail
-
get
public static LuceneNumericDomain<Float> get()
-
getMinValue
public Float getMinValue()
- Specified by:
getMinValuein interfaceLuceneNumericDomain<Float>
-
getMaxValue
public Float getMaxValue()
- Specified by:
getMaxValuein interfaceLuceneNumericDomain<Float>
-
getPreviousValue
public Float getPreviousValue(Float value)
- Specified by:
getPreviousValuein interfaceLuceneNumericDomain<Float>
-
getNextValue
public Float getNextValue(Float value)
- Specified by:
getNextValuein interfaceLuceneNumericDomain<Float>
-
createComparator
public Comparator<Float> createComparator()
- Specified by:
createComparatorin interfaceLuceneNumericDomain<Float>
-
createExactQuery
public org.apache.lucene.search.Query createExactQuery(String absoluteFieldPath, Float value)
- Specified by:
createExactQueryin interfaceLuceneNumericDomain<Float>
-
createRangeQuery
public org.apache.lucene.search.Query createRangeQuery(String absoluteFieldPath, Float lowerLimit, Float upperLimit)
- Specified by:
createRangeQueryin interfaceLuceneNumericDomain<Float>
-
createSetQuery
public org.apache.lucene.search.Query createSetQuery(String absoluteFieldPath, Collection<Float> values)
- Specified by:
createSetQueryin interfaceLuceneNumericDomain<Float>
-
sortedDocValueToTerm
public Float sortedDocValueToTerm(long longValue)
- Specified by:
sortedDocValueToTermin interfaceLuceneNumericDomain<Float>
-
createTermsFacetCounts
public org.apache.lucene.facet.Facets createTermsFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, NestedDocsProvider nestedDocsProvider) throws IOException
- Specified by:
createTermsFacetCountsin interfaceLuceneNumericDomain<Float>- Throws:
IOException
-
createRangeFacetCounts
public org.apache.lucene.facet.Facets createRangeFacetCounts(String absoluteFieldPath, org.apache.lucene.facet.FacetsCollector facetsCollector, Collection<? extends Range<? extends Float>> ranges, NestedDocsProvider nestedDocsProvider) throws IOException
- Specified by:
createRangeFacetCountsin interfaceLuceneNumericDomain<Float>- Throws:
IOException
-
createIndexField
public org.apache.lucene.index.IndexableField createIndexField(String absoluteFieldPath, Float numericValue)
- Specified by:
createIndexFieldin interfaceLuceneNumericDomain<Float>
-
createSortedDocValuesField
public org.apache.lucene.index.IndexableField createSortedDocValuesField(String absoluteFieldPath, Float numericValue)
- Specified by:
createSortedDocValuesFieldin interfaceLuceneNumericDomain<Float>
-
createFieldComparator
public org.apache.lucene.search.FieldComparator<Float> createFieldComparator(String fieldName, int numHits, Float missingValue, boolean reversed, int sortPos, MultiValueMode multiValueMode, NestedDocsProvider nestedDocsProvider)
- Specified by:
createFieldComparatorin interfaceLuceneNumericDomain<Float>
-
-