From dbe04888c6a58ec75fec55c98e7f222f5c544324 Mon Sep 17 00:00:00 2001 From: Harris Tzovanakis Date: Wed, 13 Dec 2023 14:43:13 +0100 Subject: [PATCH] search: increase max result window --- scoap3/articles/documents.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scoap3/articles/documents.py b/scoap3/articles/documents.py index 0303508d8..8fa8c7d1f 100644 --- a/scoap3/articles/documents.py +++ b/scoap3/articles/documents.py @@ -10,6 +10,12 @@ @registry.register_document class ArticleDocument(Document): + settings = { + "number_of_shards": 1, + "number_of_replicas": 0, + "max_result_window": 70000, + } + id = fields.TextField() reception_date = fields.DateField() acceptance_date = fields.DateField()