Class LuceneFloatDomain
java.lang.Object
org.hibernate.search.backend.lucene.types.lowlevel.impl.LuceneFloatDomain
- All Implemented Interfaces:
LuceneNumericDomain<Float>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerycreateExactQuery(String absoluteFieldPath, Float value) org.apache.lucene.search.FieldComparator<Float>createFieldComparator(String fieldName, int numHits, Float missingValue, boolean reversed, org.apache.lucene.search.Pruning pruning, 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()getNextValue(Float value) getPreviousValue(Float value) sortedDocValueToTerm(long longValue)
-
Constructor Details
-
LuceneFloatDomain
public LuceneFloatDomain()
-
-
Method Details
-
get
-
getMinValue
- Specified by:
getMinValuein interfaceLuceneNumericDomain<Float>
-
getMaxValue
- Specified by:
getMaxValuein interfaceLuceneNumericDomain<Float>
-
getPreviousValue
- Specified by:
getPreviousValuein interfaceLuceneNumericDomain<Float>
-
getNextValue
- Specified by:
getNextValuein interfaceLuceneNumericDomain<Float>
-
createComparator
- Specified by:
createComparatorin interfaceLuceneNumericDomain<Float>
-
createExactQuery
- 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
- 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, org.apache.lucene.search.Pruning pruning, MultiValueMode multiValueMode, NestedDocsProvider nestedDocsProvider) - Specified by:
createFieldComparatorin interfaceLuceneNumericDomain<Float>
-