Module: EagleSearch
- Defined in:
- lib/eagle_search.rb,
lib/eagle_search/field.rb,
lib/eagle_search/index.rb,
lib/eagle_search/model.rb,
lib/eagle_search/version.rb,
lib/eagle_search/response.rb,
lib/eagle_search/interpreter.rb,
lib/eagle_search/interpreter/query.rb,
lib/eagle_search/interpreter/filter.rb,
lib/eagle_search/interpreter/aggregation.rb
Defined Under Namespace
Classes: Field, Index, Interpreter, Model, Response
Constant Summary
collapse
- VERSION =
"0.3.0"
Class Method Summary
collapse
Class Method Details
.client ⇒ Object
19
20
21
|
# File 'lib/eagle_search.rb', line 19
def self.client
@client ||= Elasticsearch::Client.new
end
|
.env ⇒ Object
23
24
25
|
# File 'lib/eagle_search.rb', line 23
def self.env
@env ||= ENV['RAILS_ENV'] || "development"
end
|