Class: Chewy::Search::Parameters::PostFilter

Inherits:
Storage
  • Object
show all
Includes:
QueryStorage
Defined in:
lib/chewy/search/parameters/post_filter.rb

Overview

A standard parameter storage, which updates post_filter parameter of the ES request.

Examples:

PlacesIndex.post_filter(match: {name: 'Moscow'})
# => <PlacesIndex::Query {..., :body=>{:post_filter=>{:match=>{:name=>"Moscow"}}}}>

See Also:

Instance Attribute Summary

Attributes inherited from Storage

#value

Method Summary

Methods included from QueryStorage

#and, #merge!, #minimum_should_match, #must, #must_not, #not, #or, #render, #should, #update!

Methods inherited from Storage

#==, #initialize, #merge!, #render, #replace!, #update!

Constructor Details

This class inherits a constructor from Chewy::Search::Parameters::Storage