Class FloatPointNearestNeighbor
java.lang.Object
org.apache.lucene.sandbox.document.FloatPointNearestNeighbor
KNN search on top of N dimensional indexed float points.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TopFieldDocs
nearest
(IndexSearcher searcher, String field, int topN, float... origin)
-
Constructor Details
-
FloatPointNearestNeighbor
public FloatPointNearestNeighbor()
-
-
Method Details
-
nearest
public static TopFieldDocs nearest(IndexSearcher searcher, String field, int topN, float... origin) throws IOException - Throws:
IOException
-