Sha256: 3be887106f8bfcf1035bc8b761f6d0e9feeae4f41a89fb6c1ed0dfe3e7e16f4b

Contents?: true

Size: 310 Bytes

Versions: 40

Compression:

Stored size: 310 Bytes

Contents

module Sunspot
  module Query
    class StandardQuery < CommonQuery
      attr_accessor :scope, :fulltext

      def initialize(types)
        super
        @components << @fulltext = CompositeFulltext.new
      end

      def add_fulltext(keywords)
        @fulltext.add(keywords)
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 9 rubygems

Version Path
sunspot-2.1.1 lib/sunspot/query/standard_query.rb
sunspot-2.1.0 lib/sunspot/query/standard_query.rb
sunspot-2.0.0 lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.130115 lib/sunspot/query/standard_query.rb
gojee-sunspot-2.0.5 lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.120925 lib/sunspot/query/standard_query.rb
sunspot_solr-2.0.0.pre.120924 sunspot/lib/sunspot/query/standard_query.rb
sunspot_rails-2.0.0.pre.120924 sunspot/lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.120924 sunspot/lib/sunspot/query/standard_query.rb
gojee-sunspot-2.0.4 lib/sunspot/query/standard_query.rb
gojee-sunspot-2.0.2 lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.120720 lib/sunspot/query/standard_query.rb
sunspot-1.3.3 lib/sunspot/query/standard_query.rb
sunspot-1.3.2 lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.120417 lib/sunspot/query/standard_query.rb
sunspot-2.0.0.pre.120415 lib/sunspot/query/standard_query.rb
sunspot-1.3.1 lib/sunspot/query/standard_query.rb
erichummel-sunspot-2.0.0.pre.111215d lib/sunspot/query/standard_query.rb
erichummel-sunspot-2.0.0.pre.111215c lib/sunspot/query/standard_query.rb
erichummel-sunspot-2.0.0.pre.111215b lib/sunspot/query/standard_query.rb