We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e03d0 commit b3237eeCopy full SHA for b3237ee
elasticsearch-persistence/lib/elasticsearch/persistence/repository/search.rb
@@ -88,7 +88,7 @@ def search(query_or_definition, options={})
88
#
89
# @example Return the count of domain object matching a query in the Elasticsearch DSL
90
91
- # repository.search(query: { match: { title: 'fox dog' } })
+ # repository.count(query: { match: { title: 'fox dog' } })
92
# # => 1
93
94
# @param [ Hash, String ] query_or_definition The query or search definition.
0 commit comments