class Sunspot::Query::Restriction::StartingWith
Results must have a field with a value that begins with the argument. Most useful for strings, but in theory will work with anything.
Private Instance Methods
to_solr_conditional()
click to toggle source
# File lib/sunspot/query/restriction.rb, line 355 def to_solr_conditional "#{solr_value(@value)}*" end