# ANCHORS literal key: it will not be used as template # you can store here fragments of structures to reuse below ANCHORS: - # This is a dynamic index name. # The default index name generated by Elastics is usually _, # but you may have changed it in the initializers/elastics.rb or you can hardcode it if you prefer. # The settings and mapping below will work with any index (providing that it is a single index). # If you set it as an array of indices, you must edit this file accordingly, providing one entry per index. <%%= Elastics::Configuration.variables[:index] %>: settings: number_of_shards: 5 number_of_replicas: 1 # add your custom mappings here mappings: {}