lib/search_flip/aggregatable.rb in search_flip-2.2.0 vs lib/search_flip/aggregatable.rb in search_flip-2.3.0
- old
+ new
@@ -1,9 +1,9 @@
module SearchFlip
# The SearchFlip::Aggregatable mixin provides handy methods for using
- # the ElasticSearch aggregation framework, which can be chained with
+ # the Elasticsearch aggregation framework, which can be chained with
# each other, all other criteria methods and even nested.
#
# @example
# ProductIndex.where(available: true).aggregate(:tags, size: 50)
# OrderIndex.aggregate(revenue: { sum: { field: "price" }})
@@ -14,10 +14,10 @@
attr_accessor :aggregation_values
end
end
# Adds an arbitrary aggregation to the request which can be chained as well
- # as nested. Check out the examples and ElasticSearch docs for further
+ # as nested. Check out the examples and Elasticsearch docs for further
# details.
#
# @example Basic usage with optons
# query = CommentIndex.where(public: true).aggregate(:user_id, size: 100)
#