struct Redis::FullText::SortBy
- Redis::FullText::SortBy
- Struct
- Value
- Object
Overview
Pass to the search
method's sortby
argument to sort the results on the
given attribute.
redis.ft.search "people-index", "@name:Jamie",
sortby: Redis::FullText::SortBy.new("name", :asc)
Defined in:
search.crConstructors
Instance Method Summary
- #attribute : String
- #clone
- #copy_with(attribute _attribute = @attribute, direction _direction = @direction)
- #direction : SortDirection