def search_for_facet_values(facet_name, facet_query, search_parameters = {}, request_options = {})
      params = search_parameters.clone
      params['facetQuery'] = facet_query
      client.post(Protocol.search_facet_uri(name, facet_name), params.to_json, :read, request_options)
    end
def search_for_facet_values(facet_name, facet_query, search_parameters = {}, request_options = {})
      params = search_parameters.clone
      params['facetQuery'] = facet_query
      client.post(Protocol.search_facet_uri(name, facet_name), params.to_json, :read, request_options)
    end
Search for facet values

 @param facet_name Name of the facet to search. It must have been declared in the
       index's`attributesForFaceting` setting with the `searchable()` modifier.
 @param facet_query Text to search for in the facet's values
 @param search_parameters An optional query to take extra search parameters into account.
       These parameters apply to index objects like in a regular search query.
       Only facet values contained in the matched objects will be returned.
 @param request_options contains extra parameters to send with your query