public class FloatPointNearestNeighbor extends Object
| Constructor and Description |
|---|
FloatPointNearestNeighbor() |
| Modifier and Type | Method and Description |
|---|---|
static TopFieldDocs |
nearest(IndexSearcher searcher,
String field,
int topN,
float... origin) |
public static TopFieldDocs nearest(IndexSearcher searcher, String field, int topN, float... origin) throws IOException
IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.