Skip to content
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

fix a wrong math conclusion #45069

Closed
wants to merge 1 commit into from
Closed

fix a wrong math conclusion #45069

wants to merge 1 commit into from

Conversation

Hearen
Copy link
Contributor

@Hearen Hearen commented Aug 1, 2019

more details, please refer to this question in which I enclose more details I found: https://stackoverflow.com/q/57301510/2361308

  • Have you signed the contributor license agreement?
  • Have you followed the contributor guidelines?
  • If submitting code, have you built your formula locally prior to submission with gradle check?
  • If submitting code, is your pull request against master? Unless there is a good reason otherwise, we prefer pull requests against master and will backport as needed.
  • If submitting code, have you checked that your submission is for an OS and architecture that we support?
  • If you are submitting this code for a class then read our policy for that.

more details, please refer to this question in which I enclose more details I found: https://stackoverflow.com/q/57301510/2361308
@cbuescher cbuescher added :Analytics/Aggregations Aggregations >docs General docs changes labels Aug 1, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo

@polyfractal
Copy link
Contributor

Hmm yeah, I think this is an artifact of our testing infrastructure. E.g. documentation snippets run against toy datasets and we check the output to make sure it is correct, has the appropriate fields, etc.

I suspect the toy dataset got changed at one point (they are used across a variety of examples, so sometimes they are tweaked to for a different example), broke the test and someone (possibly me!) just updated the aggregation values to match without considering the text.

I'm going to kick off a Docs CI build, that'll be the fastest way to know. But I suspect we'll need to adjust the toy dataset to make the numbers work correctly.

@elasticmachine test this please

@polyfractal polyfractal self-requested a review August 1, 2019 13:46
@polyfractal
Copy link
Contributor

Yep, looks like the dataset needs tweaking. Would you be willing to do that @Hearen?

The dataset which is used by this example is located here: https://github.com/elastic/elasticsearch/blob/master/docs/build.gradle#L443-L470

You can see other examples in that file, but basically, we need to generate a dataset in some manner (algorithmically, by hand, etc) which generates the response you want.

@Hearen
Copy link
Contributor Author

Hearen commented Aug 3, 2019

@polyfractal Yes, of course. Thanks for the timely reply, I will look into it when I can and if any help I need, I will ask for help. Have a nice day!

@polyfractal
Copy link
Contributor

❤️ Thanks!

@Hearen
Copy link
Contributor Author

Hearen commented Aug 10, 2019

@polyfractal I am having problem to git clone https://github.com/elastic/elasticsearch.git, so frustrating ;( tried so many times for several days. The network in the company is so aweful, I will have another try later.

It keeps giving me this before I cloned 3%.

hearen@Luos-MacBook-Pro ~/repos » git clone https://github.com/elastic/elasticsearch.git                                                          128 ↵
Cloning into 'elasticsearch'...
remote: Enumerating objects: 131, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (107/107), done.
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

@polyfractal
Copy link
Contributor

Hmm, not sure what's going on, haven't seen that before. Sorry I can't be more helpful :(

No rush though, happy to wait until you get things sorted out :)

@javanna
Copy link
Member

javanna commented Sep 19, 2019

heya @Hearen are you now able to address the review comments you got above?

@Hearen
Copy link
Contributor Author

Hearen commented Sep 23, 2019

heya @Hearen are you now able to address the review comments you got above?

I gave up the issue solving promise.

Pretty sorry to mention this, I just cannot git clone ES recently. I tried tens of times using different networks, with or without VPN and different versions of git and even in others' PC for about two months. Seems it's not possible to have further tries in China recently.

I will continue to try to contribute in one way or another.

@jrodewig
Copy link
Contributor

Superseded by #50052

@jrodewig jrodewig closed this Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >docs General docs changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants