-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Example template seems broken #938
Comments
Hi @engineer-plus-plus, thanks for reporting this. I'll take a look! |
@engineer-plus-plus I've updated the README on #939. I think it was an issue with the version of Elasticsearch in the docker command. The change worked for me, but let me know if it fixes the issue for you too. Thanks! |
Cool. That fixed this issue for me.
But there is istill misinformation on the README. It says "(it even
downloads Elasticsearch itself," But the template doesn't. I'd consider
removing that. (Or I can contribute the PR with this change.)
…-IM
On Fri, May 15, 2020 at 8:49 AM Fernando Briano ***@***.***> wrote:
@engineer-plus-plus <https://github.com/engineer-plus-plus> I've updated
the README on #939
<#939>. I think it was
an issue with the version of Elasticsearch in the docker command. The
change worked for me, but let me know if it fixes the issue for you too.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#938 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABB7R4FE3D52IAG6WNVPDG3RRVQBVANCNFSM4NBFGOTQ>
.
--
--------------------------
- Ilya Makedon
|
@engineer-plus-plus I updated the Pull Request to remove this. I'm going to take a look at the rest of the docs and templates to see where else we need updates. Let me know what you think, I'll merge the PR after you review it 👍 |
I am trying to run the template form the README like this:
rails new searchapp --skip --skip-bundle --template https://raw.github.com/elastic/elasticsearch-rails/master/elasticsearch-rails/lib/rails/templates/01-basic.rb
There are couple if issues.
docker run --name elasticsearch-rails-searchapp --publish 9200:9200 --env "discovery.type=single-node" --env "cluster.name=elasticsearch-rails" --env "cluster.routing.allocation.disk.threshold_enabled=false" --rm docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.0
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [articles] as the final mapping would have more than 1 type: [_doc, properties]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [articles] as the final mapping would have more than 1 type: [_doc, properties]"},"status":400}
I'm doing this in Bash on Macos 10.14,
The text was updated successfully, but these errors were encountered: