Sha256: f8f44b50c092de78c99a9cfe34d2d30f1f246b4795e44913d12e3e3db91b0d2d

Contents?: true

Size: 452 Bytes

Versions: 38

Compression:

Stored size: 452 Bytes

Contents

module Picky

  #
  #
  class Index

    forward :load,
            :analyze,
            :reindex,
            :to => :categories

    # Define how the results of this index are identified.
    # (Shown in the client, for example)
    #
    # Default is the name of the index.
    #
    def result_identifier result_identifier = nil
      result_identifier ? (@result_identifier = result_identifier) : (@result_identifier || @name)
    end

  end

end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
picky-4.22.0 lib/picky/index_indexed.rb
picky-4.21.2 lib/picky/index_indexed.rb
picky-4.21.1 lib/picky/index_indexed.rb
picky-4.21.0 lib/picky/index_indexed.rb
picky-4.20.2 lib/picky/index_indexed.rb
picky-4.20.1 lib/picky/index_indexed.rb
picky-4.20.0 lib/picky/index_indexed.rb
picky-4.19.7 lib/picky/index_indexed.rb
picky-4.19.6 lib/picky/index_indexed.rb
picky-4.19.5 lib/picky/index_indexed.rb
picky-4.19.4 lib/picky/index_indexed.rb
picky-4.19.3 lib/picky/index_indexed.rb
picky-4.19.2 lib/picky/index_indexed.rb
picky-4.19.1 lib/picky/index_indexed.rb
picky-4.19.0 lib/picky/index_indexed.rb
picky-4.18.0 lib/picky/index_indexed.rb
picky-4.17.1 lib/picky/index_indexed.rb
picky-4.17.0 lib/picky/index_indexed.rb