2021-10-05 15:14:00 -04:00
|
|
|
#!/usr/bin/env ruby
|
2024-02-25 12:15:55 -05:00
|
|
|
# frozen_string_literal: true
|
2021-10-05 15:14:00 -04:00
|
|
|
|
|
|
|
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'config', 'environment'))
|
|
|
|
|
2023-09-16 11:09:33 -04:00
|
|
|
client = Post.document_store.client
|
|
|
|
client.indices.put_mapping index: Post.document_store.index_name, body: { properties: { has_pending_replacements: { type: "boolean" } } }
|