Module: Arelastic

Defined in:
lib/arelastic.rb,
lib/arelastic/nodes/node.rb,
lib/arelastic/sorts/sort.rb,
lib/arelastic/queries/ids.rb,
lib/arelastic/sorts/field.rb,
lib/arelastic/queries/bool.rb,
lib/arelastic/queries/term.rb,
lib/arelastic/arities/unary.rb,
lib/arelastic/builders/sort.rb,
lib/arelastic/mappings/type.rb,
lib/arelastic/queries/field.rb,
lib/arelastic/queries/fuzzy.rb,
lib/arelastic/queries/limit.rb,
lib/arelastic/queries/match.rb,
lib/arelastic/queries/query.rb,
lib/arelastic/queries/range.rb,
lib/arelastic/queries/terms.rb,
lib/arelastic/searches/from.rb,
lib/arelastic/searches/size.rb,
lib/arelastic/searches/sort.rb,
lib/arelastic/arities/binary.rb,
lib/arelastic/queries/exists.rb,
lib/arelastic/queries/filter.rb,
lib/arelastic/queries/nested.rb,
lib/arelastic/queries/prefix.rb,
lib/arelastic/queries/regexp.rb,
lib/arelastic/queries/script.rb,
lib/arelastic/searches/query.rb,
lib/arelastic/searches/terms.rb,
lib/arelastic/queries/dis_max.rb,
lib/arelastic/searches/search.rb,
lib/arelastic/aggregations/min.rb,
lib/arelastic/arities/polyadic.rb,
lib/arelastic/builders/mapping.rb,
lib/arelastic/builders/queries.rb,
lib/arelastic/nodes/hash_group.rb,
lib/arelastic/queries/wildcard.rb,
lib/arelastic/queries/has_child.rb,
lib/arelastic/queries/match_all.rb,
lib/arelastic/queries/percolate.rb,
lib/arelastic/aggregations/range.rb,
lib/arelastic/aggregations/terms.rb,
lib/arelastic/queries/match_none.rb,
lib/arelastic/sorts/geo_distance.rb,
lib/arelastic/aggregations/bucket.rb,
lib/arelastic/aggregations/filter.rb,
lib/arelastic/aggregations/nested.rb,
lib/arelastic/mappings/types/date.rb,
lib/arelastic/queries/geo_polygon.rb,
lib/arelastic/queries/multi_match.rb,
lib/arelastic/aggregations/filters.rb,
lib/arelastic/aggregations/missing.rb,
lib/arelastic/aggregations/sampler.rb,
lib/arelastic/queries/geo_distance.rb,
lib/arelastic/queries/match_phrase.rb,
lib/arelastic/queries/query_string.rb,
lib/arelastic/builders/aggregations.rb,
lib/arelastic/mappings/types/binary.rb,
lib/arelastic/mappings/types/number.rb,
lib/arelastic/mappings/types/object.rb,
lib/arelastic/mappings/types/string.rb,
lib/arelastic/searches/aggregations.rb,
lib/arelastic/aggregations/histogram.rb,
lib/arelastic/mappings/types/boolean.rb,
lib/arelastic/queries/constant_score.rb,
lib/arelastic/queries/function_score.rb,
lib/arelastic/aggregations/aggregation.rb,
lib/arelastic/aggregations/cardinality.rb,
lib/arelastic/aggregations/value_count.rb,
lib/arelastic/queries/geo_bounding_box.rb,
lib/arelastic/mappings/types/multi_field.rb,
lib/arelastic/aggregations/date_histogram.rb,
lib/arelastic/aggregations/reverse_nested.rb,
lib/arelastic/queries/simple_query_string.rb

Defined Under Namespace

Modules: Aggregations, Arities, Builders, Mappings, Nodes, Queries, Searches, Sorts

Class Method Summary collapse

Class Method Details

.[](field) ⇒ Object



17
18
19
# File 'lib/arelastic.rb', line 17

def [](field)
  Arelastic::Builders::Queries[field]
end

.aggregationsObject



21
22
23
# File 'lib/arelastic.rb', line 21

def aggregations
  Arelastic::Builders::Aggregations
end

.queriesObject



13
14
15
# File 'lib/arelastic.rb', line 13

def queries
  Arelastic::Builders::Queries
end