esse 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/esse/cli/index.rb +1 -0
- data/lib/esse/index/indices.rb +1 -0
- data/lib/esse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75c383d56ec641fd08ee1d8158dc6bb90bb26ca04a1e3d74862ce6b4cbb3aa5
|
4
|
+
data.tar.gz: 424c8abb67bfdaf9fc80b24f19f5764d67ad887cdb439bbc287f55cc52614820
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a915c64e5cc8823fe97c8ea6a3458cf8faed48bfd35ee8e7a527cb44170181bb6e4dddd68ec50d509fee59cbacf7bc5a34790fd2aa9d2c7cd714aab36f110648
|
7
|
+
data.tar.gz: 8b1e442b421b134a8f264a5a35cdfa2751a167795177b79e627659c423184225d23b5ef58e257c9e0bf2409a224e8d03d35d8377fe8304b579574287bf4f8a2a
|
data/lib/esse/cli/index.rb
CHANGED
@@ -16,6 +16,7 @@ module Esse
|
|
16
16
|
DESC
|
17
17
|
option :suffix, type: :string, default: nil, aliases: '-s', desc: 'Suffix to append to index name'
|
18
18
|
option :import, type: :boolean, default: true, desc: 'Import documents before point alias to the new index'
|
19
|
+
option :optimize, type: :boolean, default: true, desc: 'Optimize index before import documents by disabling refresh_interval and setting number_of_replicas to 0'
|
19
20
|
def reset(*index_classes)
|
20
21
|
require_relative 'index/reset'
|
21
22
|
Reset.new(indices: index_classes, **options.to_h.transform_keys(&:to_sym)).run
|
data/lib/esse/index/indices.rb
CHANGED
data/lib/esse/version.rb
CHANGED