Method: SearchFlip::Index::ClassMethods#criteria

Defined in:
lib/search_flip/index.rb

#criteriaSearchFlip::Criteria

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Creates an SearchFlip::Criteria for the current index, which is used as a base for chaining criteria methods.

Returns:



246
247
248
# File 'lib/search_flip/index.rb', line 246

def criteria
  SearchFlip::Criteria.new(target: self)
end