Example usage for Java org.apache.lucene.document FloatPoint fields, constructors, methods, implement or subclass
The text is from its open source code.
FloatPoint(String name, float... point) Creates a new FloatPoint, indexing the provided N-dimensional float point. |
float | decodeDimension(byte value[], int offset) Decode single float dimension |
void | encodeDimension(float value, byte dest[], int offset) Encode single float dimension |
Query | newExactQuery(String field, float value) Create a query for matching an exact float value. |
Query | newRangeQuery(String field, float lowerValue, float upperValue) Create a range query for float values. |
Query | newRangeQuery(String field, float[] lowerValue, float[] upperValue) Create a range query for n-dimensional float values. |
Query | newSetQuery(String field, float... values) Create a query matching any of the specified 1D values. |
Query | newSetQuery(String field, Collection Create a query matching any of the specified 1D values. |
float | nextDown(float f) Return the greatest float that compares less than f consistently with Float#compare . |
float | nextUp(float f) Return the least float that compares greater than f consistently with Float#compare . |