Revert "Remove deprecation for geohash setter"

This reverts commit b5a4e99344.
This commit is contained in:
Yannick Welsch 2016-02-02 14:03:58 +01:00
parent 7ea2e99f91
commit 089ab7d9bf
1 changed files with 1 additions and 0 deletions

View File

@ -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));