Skip to content

Commit b3237ee

Browse files
committed
[STORE] Fix minor documentation typo
1 parent 16e03d0 commit b3237ee

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-persistence/lib/elasticsearch/persistence/repository

1 file changed

+1
-1
lines changed

elasticsearch-persistence/lib/elasticsearch/persistence/repository/search.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def search(query_or_definition, options={})
8888
#
8989
# @example Return the count of domain object matching a query in the Elasticsearch DSL
9090
#
91-
# repository.search(query: { match: { title: 'fox dog' } })
91+
# repository.count(query: { match: { title: 'fox dog' } })
9292
# # => 1
9393
#
9494
# @param [ Hash, String ] query_or_definition The query or search definition.

0 commit comments

Comments
 (0)