module Ferret::FieldSymbolMethods

def desc

specifications.
Set a field to be a descending field. This only makes sense in sort
def desc
  fsym = FieldSymbol.new(self, respond_to?(:desc?) ? !desc? : true)
  fsym.type = type if respond_to? :type
  fsym
end

def desc?

Return whether or not this field should be a descending field
def desc?
  @desc == true
end

def type

Return the type of this field
def type
  @type || nil
end