class Sunspot::Query::FieldList

This DSL represents only fields that would come out of the results of the search type.

Public Class Methods

new(list) click to toggle source
# File lib/sunspot/query/field_list.rb, line 6
def initialize(list)
  @list = list
end

Public Instance Methods

to_params() click to toggle source
# File lib/sunspot/query/field_list.rb, line 10
def to_params
  { :fl => @list }
end