-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added distance precision to GeohashGrid.php #1884
Conversation
@krewetka Could you also rebase this PR now that CI changes are in? |
bd59693
to
bc1b4af
Compare
bc1b4af
to
45cc5f9
Compare
just so you know CI is failing sometimes for some strange reason. I had a fail, changed just single test name a bit , restarted it and next time it was ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change LGTM, but waiting on green. Also @deguif should have a final look. Please merge directly if it looks good to you.
Thanks @krewetka |
As described in https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html#_options_3 there is possibility to pass precision as string.
It was also working in earlier versions of Elastica.
Got broken after adding
int
to parameter insetPrecision
.I think it is better to add second method for that.