Revert "[PostVersions] Fix result window on search"

This reverts commit d53a0ead98.
This commit is contained in:
Earlopain 2022-04-21 21:41:24 +02:00
parent d02a12a6f0
commit c3224e111e
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -2,7 +2,7 @@
module PostVersionIndex
def self.included(base)
base.settings index: { number_of_shards: 8, number_of_replicas: 1, max_result_window: 250_000 } do
base.settings index: {number_of_shards: 8, number_of_replicas: 1} do
mappings dynamic: false do
indexes :id, type: 'integer'
indexes :post_id, type: 'integer'