Sha256: cbba0a4ba307d5826c32afcb325a7baad8b158dc4c1aa20d467791700175cedb
Contents?: true
Size: 638 Bytes
Versions: 4
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true Esse.configure do |config| config.indices_directory = File.expand_path('../../app/indices', __FILE__) config.cluster(:default) do |cluster| # Default index prefix cluster.index_prefix = "esse" # you also can add environment to the index prefix if available: # cluster.index_prefix = "esse_#{ENV['RACK_ENV']}" # # Initialize the ElastiSearch client to be used by the default cluster cluster.client = Elasticsearch::Client.new # Global index settings # cluster.index_settings = { # number_of_shards: 5, # number_of_replicas: 0, # } end end
Version data entries
4 entries across 4 versions & 1 rubygems