toptal/chewy

View on GitHub
lib/chewy/search/parameters/track_total_hits.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'chewy/search/parameters/storage'

module Chewy
  module Search
    class Parameters
      # Just a standard boolean storage, nothing to see here.
      #
      # @see Chewy::Search::Parameters::BoolStorage
      # @see Chewy::Search::Request#track_total_hits
      # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-your-data.html#track-total-hits
      class TrackTotalHits < Storage
        include BoolStorage
      end
    end
  end
end