Skip to content

[DOCS] Updates README and links to elasticsearch-dsl #1027

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

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Elasticsearch
# Elasticsearch Rails

[![Ruby 2.7](https://github.com/elastic/elasticsearch-rails/workflows/Ruby%202.7/badge.svg)](https://github.com/elastic/elasticsearch-rails/actions)
[![Ruby 2.6](https://github.com/elastic/elasticsearch-rails/workflows/Ruby%202.6/badge.svg)](https://github.com/elastic/elasticsearch-rails/actions)
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ response.results.first.title
# => "Quick brown fox"
```

Also, you can use the [**`elasticsearch-dsl`**](https://github.com/elastic/elasticsearch-ruby/tree/main/elasticsearch-dsl) library, which provides a specialized Ruby API for the Elasticsearch Query DSL:
Also, you can use the [**`elasticsearch-dsl`**](https://github.com/elastic/elasticsearch-dsl-ruby) library, which provides a specialized Ruby API for the Elasticsearch Query DSL:

```ruby
require 'elasticsearch/dsl'
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch-rails/lib/rails/templates/04-dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
## [4] DSL

The `dsl` template refactors the search definition in SearchController#index
to use the [`elasticsearch-dsl`](https://github.com/elastic/elasticsearch-ruby/tree/dsl/elasticsearch-dsl)
to use the [`elasticsearch-dsl`](https://github.com/elastic/elasticsearch-dsl-ruby)
Rubygem for better expresivity and readability of the code.

README
Expand All @@ -44,7 +44,7 @@
say_status "Rubygems", "Adding Rubygems into Gemfile...\n", :yellow
puts '-'*80, ''; sleep 0.25

gem "elasticsearch-dsl", git: "git://github.com/elastic/elasticsearch-ruby.git"
gem "elasticsearch-dsl", git: "git://github.com/elastic/elasticsearch-dsl-ruby.git"

git add: "Gemfile*"
git commit: "-m 'Added the `elasticsearch-dsl` gem'"
Expand Down