title: searchkick advanced search not working
body: <pre><code>class Product &lt; ActiveRecord::Base
  belongs_to :city
  has_and_belongs_to_many :categories
  before_destroy { categories.clear }
  searchkick locations: ["location"]
  
  def search_data
      {
          istatus: i_status,  
          name: name,
          price: price,
          city_id: city_id,
          value: value,
          discount: discount,
          expiry_date: expiry_date,
          created_at: created_at,
          products_sold: products_sold, 
          city: city.name,
          deal_type: deal_type,
          country: city.country.name,
          category_id: categories.map(&amp;:id),
          location: [latitude, longitude]
      }
  end
  
  def self.apply_filters(request)
      # @product = Product.search "Tex-Mex", limit:10  #=&gt;this works
      @product = Product.search body: {match: {name: "Tex-Mex"}},limit: 10 #=&gt;does not work, the limit part work
      end
  end
  </code></pre>
  
  <p>when i use advanced search using body.. it does not return the desired results although the limit:10 part us working as it does return 10 results only</p>