Sha256: cbf818fdce522a72861d22cf79e8ace65238eeb096e341267e3836535dacce24
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 Bytes
Contents
module Sunspot module Query class QueryFieldFacet < QueryFacet def initialize(field, values) super(field.name) @field = field values.each do |value| add_row(value).add_component(Restriction::EqualTo.new(field, value)) end end end end end
Version data entries
6 entries across 6 versions & 4 rubygems