Sha256: b091d24d4454137385bc6d21652c8be7dea7d94da78089b7df098f080936c7bc

Contents?: true

Size: 452 Bytes

Versions: 18

Compression:

Stored size: 452 Bytes

Contents

module DataMapper
  class Repository
    # This accepts a ferret query string and an optional limit argument
    # which defaults to all. This is the proper way to perform searches more
    # complicated than DM's query syntax can handle (such as OR searches).
    #
    # See DataMapper::Adapters::FerretAdapter#search for information on
    # the return value.
    def search(query, limit = :all)
      adapter.search(query, limit)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dm-ferret-adapter-1.2.0 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.2.0.rc2 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.2.0.rc1 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.1.0 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.1.0.rc3 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.1.0.rc2 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.1.0.rc1 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.0.2 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.0.1 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.0.0 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-1.0.0.rc3 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.10.2 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.10.0 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.9.9 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.9.8 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.9.7 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.9.11 lib/ferret_adapter/repository_ext.rb
dm-ferret-adapter-0.9.10 lib/ferret_adapter/repository_ext.rb