Revert "Remove deprecation for geohash setter"
This reverts commit b5a4e99344
.
This commit is contained in:
parent
7ea2e99f91
commit
089ab7d9bf
|
@ -165,6 +165,7 @@ public class GeoDistanceSortBuilder extends SortBuilder implements ToXContent, N
|
|||
*
|
||||
* Deprecated - please use points(GeoPoint... points) instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public GeoDistanceSortBuilder geohashes(String... geohashes) {
|
||||
for (String geohash : geohashes) {
|
||||
this.points.add(GeoPoint.fromGeohash(geohash));
|
||||
|
|
Loading…
Reference in New Issue