elastic / elastic/elasticsearch-dsl-ruby

How to use DSL

Open
#3 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

all of the examples show mixing it into the global scope, which in practice no would would ever do. How do I use the DSL with rails / models, which is probably the typical use-case? all of the rails examples show passing a hash into `SomeModel.search({})`. In all my searching, I failed to find a concise example that used both elasticsearch-model/rails and elasticsearch-dsl.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.