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
Defined Under Namespace
Classes: Field, Index, Interpreter, Model, Response
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.client ⇒ Object
18
19
20
|
# File 'lib/eagle_search.rb', line 18
def self.client
@client ||= Elasticsearch::Client.new
end
|
.env ⇒ Object
22
23
24
|
# File 'lib/eagle_search.rb', line 22
def self.env
@env ||= ENV['RAILS_ENV'] || "development"
end
|