public interface SortDistanceNoFieldContext
| Modifier and Type | Method and Description |
|---|---|
SortDistanceFieldContext |
onField(String fieldName)
Order elements by distance computed from the coordinates carried by the given field.
|
SortDistanceFieldContext onField(String fieldName)
The distance is computed between the value of the given field (which must be
a Spatial field) and reference coordinates, to be provided in the
next context.
fieldName - The name of the index field carrying the spatial coordinates.Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.