Class: Ferret::Search::TypedRangeFilter
- Inherits:
-
Object
- Object
- Ferret::Search::TypedRangeFilter
- Defined in:
- ext/r_search.c
Overview
Summary
TypedRangeFilter filters a set of documents which contain a lexicographical range of terms (ie “aaa”, “aab”, “aac”, etc), unless the range boundaries happen to be numbers (positive, negative, integer, float), in which case a numerical filter is applied. See also TypedRangeQuery
Example
Find all products that cost less than or equal to $50.00.
filter = TypedRangeFilter.new(:created_on, :<= => "50.00")