Class: Sunspot::Query::Restriction::StartingWith

Inherits:
Base
  • Object
show all
Defined in:
lib/sunspot/query/restriction.rb

Overview

Results must have a field with a value that begins with the argument. Most useful for strings, but in theory will work with anything.

Constant Summary

Constants inherited from Base

Base::RESERVED_WORDS

Method Summary

Methods inherited from Base

#initialize, #negate, #negated?, #to_boolean_phrase, #to_negated_boolean_phrase, #to_params, #to_positive_boolean_phrase

Methods included from Filter

#tag, #to_filter_query

Constructor Details

This class inherits a constructor from Sunspot::Query::Restriction::Base