Module org.apache.lucene.sandbox
Package org.apache.lucene.sandbox.search
Class NearestNeighbor.NearestHit
- java.lang.Object
-
- org.apache.lucene.sandbox.search.NearestNeighbor.NearestHit
-
- Enclosing class:
- NearestNeighbor
static class NearestNeighbor.NearestHit extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double
distanceSortKey
The distance from the hit to the query point, computed as a sort key throughSloppyMath.haversinSortKey(double, double, double, double)
.int
docID
-
Constructor Summary
Constructors Constructor Description NearestHit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
docID
public int docID
-
distanceSortKey
public double distanceSortKey
The distance from the hit to the query point, computed as a sort key throughSloppyMath.haversinSortKey(double, double, double, double)
.
-
-