lib/picky/search_facets.rb in picky-4.19.4 vs lib/picky/search_facets.rb in picky-4.19.5
- old
+ new
@@ -8,10 +8,10 @@
# category: The category whose facets to return.
#
# Options
# counts: Whether you want counts (returns a Hash) or not (returns an Array). (Default true)
# at_least: A minimum count a facet needs to have (inclusive). (Default 1)
- # filter: A query to filter the facets with.
+ # filter: A query to filter the facets with(no_args).
#
# Usage:
# search.facets :name, filter: 'surname:peter', at_least: 2
#
def facets category_identifier, options = {}