Sha256: c5e6c09b5016dc77a81a5b4b0d1142a68bd54b62b0787f0f50c94744776aa26d
Contents?: true
Size: 791 Bytes
Versions: 4
Compression:
Stored size: 791 Bytes
Contents
# Require the gem. This loads the search framework. # require 'picky' # Load your application. This requires the following files in # # * lib/initializers/*.rb # * lib/tokenizers/*.rb # * lib/indexers/*.rb # * lib/query/*.rb # # * app/logging.rb # * app/application.rb # # (in that order). # Loader.load_application # Load the data. This loads data from cache files e.g. "some_index/*_index.dump" into constant Indexes::SomeIndex. # Indexes.load_from_cache # Use Harakiri middleware to kill unicorn child after X requests. # # See http://vimeo.com/12614970 for more info. # # Note: Comment this. # Rack::Harakiri.after = 50 use Rack::Harakiri # Start the application and start accepting requests. # # Note: Needs to be the same name as in app/application.rb. # run PickySearch
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
picky-0.0.8 | prototype_project/config.ru |
picky-0.0.7 | prototype_project/config.ru |
picky-0.0.6 | prototype_project/config.ru |
picky-0.0.5 | prototype_project/config.ru |