Java org.apache.lucene.document FloatPoint fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.document FloatPoint fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.document FloatPoint.

The text is from its open source code.

Constructor

FloatPoint(String name, float... point)
Creates a new FloatPoint, indexing the provided N-dimensional float point.

Method

floatdecodeDimension(byte value[], int offset)
Decode single float dimension
voidencodeDimension(float value, byte dest[], int offset)
Encode single float dimension
QuerynewExactQuery(String field, float value)
Create a query for matching an exact float value.
QuerynewRangeQuery(String field, float lowerValue, float upperValue)
Create a range query for float values.
QuerynewRangeQuery(String field, float[] lowerValue, float[] upperValue)
Create a range query for n-dimensional float values.
QuerynewSetQuery(String field, float... values)
Create a query matching any of the specified 1D values.
QuerynewSetQuery(String field, Collection values)
Create a query matching any of the specified 1D values.
floatnextDown(float f)
Return the greatest float that compares less than f consistently with Float#compare .
floatnextUp(float f)
Return the least float that compares greater than f consistently with Float#compare .