Sha256: 97a9959d6de67c09c84a7cd9029270cc855bb02eb065c3898e2f596d4f1f67e5

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

module Sunspot
  module Query #:nodoc:

    # This DSL represents only fields that would come out of the results of the search type.
    class FieldList
      def initialize(list)
        @list = list
      end

      def to_params
        { :fl => @list }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sunspot-2.7.1 lib/sunspot/query/field_list.rb
sunspot-2.7.0 lib/sunspot/query/field_list.rb
sunspot-2.6.0 lib/sunspot/query/field_list.rb
sunspot-2.5.0 lib/sunspot/query/field_list.rb
sunspot-2.4.0 lib/sunspot/query/field_list.rb
sunspot-2.3.0 lib/sunspot/query/field_list.rb
sunspot-2.2.8 lib/sunspot/query/field_list.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/sunspot-2.2.7/lib/sunspot/query/field_list.rb
sunspot-2.2.7 lib/sunspot/query/field_list.rb
sunspot-2.2.6 lib/sunspot/query/field_list.rb