| Package | Description |
|---|---|
| org.hibernate.search.engine.search.sort.dsl | |
| org.hibernate.search.engine.search.sort.dsl.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DistanceSortOptionsStep<S extends DistanceSortOptionsStep<?>>
The initial and final step in a "distance" sort definition, where optional parameters can be set.
|
| Modifier and Type | Method and Description |
|---|---|
default DistanceSortOptionsStep<?> |
SearchSortFactory.distance(String absoluteFieldPath,
double latitude,
double longitude)
Order elements by the distance from the location stored in the specified field to the location specified.
|
DistanceSortOptionsStep<?> |
SearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location)
Order elements by the distance from the location stored in the specified field to the location specified.
|
| Modifier and Type | Method and Description |
|---|---|
DistanceSortOptionsStep<?> |
DelegatingSearchSortFactory.distance(String absoluteFieldPath,
double latitude,
double longitude) |
DistanceSortOptionsStep<?> |
DelegatingSearchSortFactory.distance(String absoluteFieldPath,
GeoPoint location) |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.