Sha256: 735a3614f90f6b4692910fcfa27b24c5ed8b0e4ed22e5f73e37d19d36517fe8a

Contents?: true

Size: 488 Bytes

Versions: 17

Compression:

Stored size: 488 Bytes

Contents

module Picky

  #
  #
  class Index

    forward :load,
            :analyze,
            :reindex,
            :possible_combinations,
            :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

17 entries across 17 versions & 1 rubygems

Version Path
picky-4.16.0 lib/picky/index_indexed.rb
picky-4.15.1 lib/picky/index_indexed.rb
picky-4.15.0 lib/picky/index_indexed.rb
picky-4.14.0 lib/picky/index_indexed.rb
picky-4.13.1 lib/picky/index_indexed.rb
picky-4.13.0 lib/picky/index_indexed.rb
picky-4.12.13 lib/picky/index_indexed.rb
picky-4.12.12 lib/picky/index_indexed.rb
picky-4.12.11 lib/picky/index_indexed.rb
picky-4.12.10 lib/picky/index_indexed.rb
picky-4.12.8 lib/picky/index_indexed.rb
picky-4.12.7 lib/picky/index_indexed.rb
picky-4.12.6 lib/picky/index_indexed.rb
picky-4.12.5 lib/picky/index_indexed.rb
picky-4.12.4 lib/picky/index_indexed.rb
picky-4.12.3 lib/picky/index_indexed.rb
picky-4.12.2 lib/picky/index_indexed.rb