Sha256: 05364a01932cc2a5bc2be5fb4f8e12bbf397576a7ba37e665fc4849212a1cd7e

Contents?: true

Size: 493 Bytes

Versions: 57

Compression:

Stored size: 493 Bytes

Contents

module Picky

  #
  #
  class Index

    delegate :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

57 entries across 57 versions & 1 rubygems

Version Path
picky-4.12.1 lib/picky/index_indexed.rb
picky-4.12.0 lib/picky/index_indexed.rb
picky-4.11.3 lib/picky/index_indexed.rb
picky-4.11.2 lib/picky/index_indexed.rb
picky-4.11.1 lib/picky/index_indexed.rb
picky-4.11.0 lib/picky/index_indexed.rb
picky-4.10.0 lib/picky/index_indexed.rb
picky-4.9.0 lib/picky/index_indexed.rb
picky-4.8.1 lib/picky/index_indexed.rb
picky-4.8.0 lib/picky/index_indexed.rb
picky-4.7.0 lib/picky/index_indexed.rb
picky-4.6.6 lib/picky/index_indexed.rb
picky-4.6.5 lib/picky/index_indexed.rb
picky-4.6.4 lib/picky/index_indexed.rb
picky-4.6.3 lib/picky/index_indexed.rb
picky-4.6.2 lib/picky/index_indexed.rb
picky-4.6.1 lib/picky/index_indexed.rb
picky-4.6.0 lib/picky/index_indexed.rb
picky-4.5.12 lib/picky/index_indexed.rb
picky-4.5.11 lib/picky/index_indexed.rb